summaryrefslogtreecommitdiffstats
path: root/core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service
diff options
context:
space:
mode:
authorJonathan Bauer2018-02-14 13:15:54 +0100
committerJonathan Bauer2018-02-14 13:15:54 +0100
commit780e9ebdf01db68760d95d86d09f8bc37d676dba (patch)
tree6ada795174dd2b8fc4a76ead45026e670eb8e399 /core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service
parent[lightdm-greeter-bwlp] fix path (diff)
parent[run-virt] relax /tmp mount detection regex (diff)
downloadmltk-780e9ebdf01db68760d95d86d09f8bc37d676dba.tar.gz
mltk-780e9ebdf01db68760d95d86d09f8bc37d676dba.tar.xz
mltk-780e9ebdf01db68760d95d86d09f8bc37d676dba.zip
Merge branch 'master' into install-mode
Diffstat (limited to 'core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service')
-rw-r--r--core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service b/core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service
new file mode 100644
index 00000000..77228f4a
--- /dev/null
+++ b/core/modules/hardware-stats/data/etc/systemd/system/stats-resume.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Tell server we woke up from suspend
+DefaultDependencies=no
+After=systemd-suspend.service systemd-hybrid-sleep.service systemd-hibernate.service
+RefuseManualStart=true
+
+[Service]
+Type=oneshot
+ExecStart=/opt/openslx/scripts/systemd-hws_standby resume
+RemainAfterExit=no
+