You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# copy or _hard_link to
|
|
|
|
# Debian: /lib/systemd/system/sabnzbd@.service
|
|
|
|
# others: /usr/lib/systemd/system/sabnzbd@.service
|
|
|
|
#
|
|
|
|
# To start SABNzbd once for USER use:
|
|
|
|
# systemctl start sabnzbd@USER.service
|
|
|
|
#
|
|
|
|
# To start SABNzbd on boot for USER use:
|
|
|
|
# systemctl enable sabnzbd@USER.service
|
|
|
|
#
|
|
|
|
# Config will be placed in ~USER/.sabnzbd/
|
|
|
|
|
|
|
|
[Unit]
|
|
|
|
Description=SABnzbd binary newsreader
|
|
|
|
Documentation=https://sabnzbd.org/wiki/
|
|
|
|
Wants=network-online.target
|
|
|
|
After=network-online.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Environment="PYTHONIOENCODING=utf-8"
|
|
|
|
ExecStart=/opt/sabnzbd/SABnzbd.py --logging 1 --browser 0
|
|
|
|
User=%I
|
|
|
|
Type=simple
|
|
|
|
Restart=on-failure
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|