[Unit] Description=Google Compute Engine Shutdown Scripts Wants=network-online.target rsyslog.service After=network-online.target rsyslog.service After=snapd.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 shutdown TimeoutStopSec=0 KillMode=process [Install] WantedBy=multi-user.target