aboutsummarylogtreecommitdiffstats
path: root/wakeup-triggers.service
diff options
context:
space:
mode:
Diffstat (limited to 'wakeup-triggers.service')
-rw-r--r--wakeup-triggers.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/wakeup-triggers.service b/wakeup-triggers.service
new file mode 100644
index 000000000000..1c4dfb02b4b9
--- /dev/null
+++ b/wakeup-triggers.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Let the user set the wakeup triggers of system suspension
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/wakeup-triggers.sh start
+ExecStop=/usr/bin/wakeup-triggers.sh stop
+
+[Install]
+WantedBy=multi-user.target