summarylogtreecommitdiffstats
path: root/whisparr.service
diff options
context:
space:
mode:
authortxtsd2024-10-17 11:35:02 +0530
committertxtsd2024-10-17 11:35:02 +0530
commit5785c09de1cbe5b4e34011f6d9f5cf998d474a5b (patch)
tree8ff01e7d05766a0bb6c71168c637f695db1a8d00 /whisparr.service
parentb1c1b623b7f947b25f66546fe67b9913b3770740 (diff)
downloadaur-5785c09de1cbe5b4e34011f6d9f5cf998d474a5b.tar.gz
chore: Housekeeping
Signed-off-by: txtsd <code@ihavea.quest>
Diffstat (limited to 'whisparr.service')
-rw-r--r--whisparr.service9
1 files changed, 7 insertions, 2 deletions
diff --git a/whisparr.service b/whisparr.service
index ce9aaa450528..f1e6713bb26d 100644
--- a/whisparr.service
+++ b/whisparr.service
@@ -7,16 +7,21 @@
# UMask=002
[Unit]
-Description=Whisparr Service
+Description=Whisparr Daemon
Wants=network-online.target
After=network-online.target
[Service]
+Type=simple
User=whisparr
Group=whisparr
SyslogIdentifier=whisparr
+Environment=XDG_DATA_HOME=/var/lib/whisparr
+WorkingDirectory=/usr/lib/whisparr
ExecStart=/usr/lib/whisparr/bin/Whisparr -nobrowser -data=/var/lib/whisparr
-Type=simple
+Restart=on-failure
+RestartSec=5
+KillMode=process
[Install]
WantedBy=multi-user.target