diff options
Diffstat (limited to 'app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719')
-rw-r--r-- | app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719 | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719 b/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719 new file mode 100644 index 0000000..04c82fd --- /dev/null +++ b/app-admin/google-compute-engine/files/systemd/google-shutdown-scripts.service-20160719 @@ -0,0 +1,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 |