summarylogtreecommitdiffstats
path: root/recyclarr.service
blob: a6641a7ebe8ea7e5afd1ce5158d63370c3c8a3e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Be sure to use `systemctl edit recyclarr` to modify this service with an override.conf because
# direct changes will be overwritten by package updates.

[Unit]
Description=Recyclarr Daemon
Wants=network-online.target
After=network-online.target
ConditionPathExists=/etc/recyclarr/recyclarr.yml

[Service]
Type=oneshot
User=recyclarr
Group=recyclarr
SyslogIdentifier=recyclarr
ExecStart=/usr/bin/recyclarr sync --app-data /var/lib/recyclarr --config /etc/recyclarr/recyclarr.yml
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target