aboutsummaryrefslogtreecommitdiff
path: root/systemd/power-watch.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/power-watch.service')
-rw-r--r--systemd/power-watch.service7
1 files changed, 7 insertions, 0 deletions
diff --git a/systemd/power-watch.service b/systemd/power-watch.service
new file mode 100644
index 0000000..ef503cd
--- /dev/null
+++ b/systemd/power-watch.service
@@ -0,0 +1,7 @@
+[Unit]
+Description=Power Watch Telegram Notifier
+
+[Service]
+Type=oneshot
+ExecStart=%h/.local/bin/power-watch.sh
+Environment=PATH=/usr/bin:/bin