summarylogtreecommitdiffstats
path: root/airstatus.service
diff options
context:
space:
mode:
authorMansour Behabadi2022-07-03 18:27:35 +1000
committerMansour Behabadi2022-07-03 18:29:53 +1000
commitbf8f021869eb5e4e1771c49f5b5adf8d4f75fcac (patch)
treedf81162a81619e75225fcfb664bdf7c375f58f56 /airstatus.service
downloadaur-airstatus-git.tar.gz
Version 20220109.db9de00-1
Diffstat (limited to 'airstatus.service')
-rw-r--r--airstatus.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/airstatus.service b/airstatus.service
new file mode 100644
index 00000000000..9b4f48529ce
--- /dev/null
+++ b/airstatus.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=AirPods Battery Monitor
+
+[Service]
+ExecStart=/usr/bin/python3 /usr/lib/airstatus.py /tmp/airstatus.out
+User=nobody
+Restart=always
+RestartSec=3
+
+[Install]
+WantedBy=default.target