summaryrefslogtreecommitdiff
path: root/package/systemd/google-shutdown-scripts.service
blob: 04c82fd8aa542a6555943217ee3542118f85bfa9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Google Compute Engine Shutdown Scripts
After=local-fs.target network-online.target network.target rsyslog.service
After=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