diff options
author | Tomasz Kramkowski <tomasz@kramkow.ski> | 2024-09-04 20:38:59 +0100 |
---|---|---|
committer | Tomasz Kramkowski <tomasz@kramkow.ski> | 2024-09-04 20:40:30 +0100 |
commit | 4075554aa89dc6f67dfcbd6b0b07d990b21a6662 (patch) | |
tree | 1c407df216f0890801ab450a6ad4d5819d146396 /battd.service | |
parent | 3c1698a8d99e8fd74955b8e4456a3b7c114a7e7f (diff) | |
download | battd-master.tar.gz battd-master.tar.xz battd-master.zip |
This is helpful if you're stuck in a hole with nothing except for a
laptop running Ubuntu to dig yourself out of it.
Diffstat (limited to 'battd.service')
-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 |