summaryrefslogtreecommitdiff
path: root/package/systemd/google-shutdown-scripts.service
blob: 64f53ede6afa16d1b766d220878a4b43f728596f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
[Unit]
Description=Google Compute Engine Shutdown Scripts
After=local-fs.target network-online.target network.target google-instance-setup.service
Wants=local-fs.target network-online.target network.target

[Service]
ExecStart=/bin/true
ExecStop=/usr/bin/google_metadata_script_runner --script-type shutdown
Type=oneshot
RemainAfterExit=true
TimeoutStopSec=0

[Install]
WantedBy=multi-user.target