biome: 1.9.2 -> 1.9.3
[NixPkgs.git] / pkgs / tools / virtualization / google-guest-agent / fix-paths.patch
blob07bb112ae289d153c7e2cec90ad32b73666adbf5
1 diff --git a/google-guest-agent.service b/google-guest-agent.service
2 index 79b8e39..a39097b 100644
3 --- a/google-guest-agent.service
4 +++ b/google-guest-agent.service
5 @@ -14,7 +14,7 @@ PartOf=network.service networking.service NetworkManager.service systemd-network
7 [Service]
8 Type=notify
9 -ExecStart=/usr/bin/google_guest_agent
10 +ExecStart=@out@/bin/google_guest_agent
11 OOMScoreAdjust=-999
12 Restart=always
14 diff --git a/google-shutdown-scripts.service b/google-shutdown-scripts.service
15 index 16bb9c2..ae02067 100644
16 --- a/google-shutdown-scripts.service
17 +++ b/google-shutdown-scripts.service
18 @@ -5,10 +5,10 @@ After=network-online.target rsyslog.service
20 [Service]
21 Type=oneshot
22 -ExecStart=/bin/true
23 +ExecStart=@true@
24 RemainAfterExit=true
25 # This service does nothing on start, and runs shutdown scripts on stop.
26 -ExecStop=/usr/bin/google_metadata_script_runner shutdown
27 +ExecStop=@out@/bin/google_metadata_script_runner shutdown
28 TimeoutStopSec=0
29 KillMode=process
31 diff --git a/google-startup-scripts.service b/google-startup-scripts.service
32 index dfc9838..2465265 100644
33 --- a/google-startup-scripts.service
34 +++ b/google-startup-scripts.service
35 @@ -6,7 +6,7 @@ Before=apt-daily.service
37 [Service]
38 Type=oneshot
39 -ExecStart=/usr/bin/google_metadata_script_runner startup
40 +ExecStart=@out@/bin/google_metadata_script_runner startup
41 #TimeoutStartSec is ignored for Type=oneshot service units.
42 KillMode=process