summaryrefslogtreecommitdiff
path: root/packages/google-compute-engine/src/lib/systemd/system/google-shutdown-scripts.service
blob: ae23d76f865110337902f52de70d443a70b77ba4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=Google Compute Engine Shutdown Scripts
After=network-online.target network.target rsyslog.service
After=google-instance-setup.service google-network-daemon.service

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

[Install]
WantedBy=multi-user.target