summarylogtreecommitdiffstats
path: root/airstatus.service
diff options
context:
space:
mode:
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