blob: dc5cde902e830105f09d18d87b042ab426875561 [file] [edit]
[Unit]
Description=Google Compute Engine Shutdown Scripts
Wants=network-online.target rsyslog.service
After=network-online.target rsyslog.service
[Service]
Type=oneshot
ExecStart=/bin/true
RemainAfterExit=true
# This service does nothing on start, and runs shutdown scripts on stop.
ExecStop=/usr/bin/google_metadata_script_runner_adapt shutdown
TimeoutStopSec=0
KillMode=process
[Install]
WantedBy=multi-user.target