summaryrefslogtreecommitdiff
path: root/google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service
diff options
context:
space:
mode:
Diffstat (limited to 'google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service')
-rw-r--r--google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service b/google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service
new file mode 100644
index 0000000..039ee46
--- /dev/null
+++ b/google-startup-scripts/usr/lib/systemd/system/google-shutdown-scripts.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Google Compute Engine user shutdown scripts
+Before=shutdown.target
+DefaultDependencies=false
+Wants=local-fs.target network-online.target network.target
+
+[Service]
+ExecStart=/usr/share/google/run-shutdown-scripts
+Type=oneshot
+
+[Install]
+WantedBy=shutdown.target