diff options
-rw-r--r-- | battd.service | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/battd.service b/battd.service new file mode 100644 index 0000000..a6a3a5a --- /dev/null +++ b/battd.service @@ -0,0 +1,12 @@ +# expects: ./install /opt/battd +[Unit] +Description=Battery Daemon +Documentation=https://kramkow.ski/project/battd.html + +[Service] +WorkingDirectory=/opt/battd +ExecStart=/opt/battd/run +ExecReload=kill -HUP $MAINPID + +[Install] +WantedBy=multi-user.target |