Sabnzbd service is not starting reliably: Signal 15
Posted: April 6th, 2021, 9:53 am
I recently updated sabnzbd from a (quite) old version.
During/after the update I had some problems with user permissions and therefore adjusted my installation to let sab run from a dedicated user sabnzbd and start it via /etc/systemd/system/sabnzbdplus.service which looks like this:
I (obviously) only have very little understanding of how systemd works and only "cobbled this together" based on different infos I found on the internet. Whilst this does work some times, it oftentimes gives me the following error on startup:
I'd really appreciate some guidance on how to "make the script right"
Thanks & best regards,
Mike
During/after the update I had some problems with user permissions and therefore adjusted my installation to let sab run from a dedicated user sabnzbd and start it via /etc/systemd/system/sabnzbdplus.service which looks like this:
Code: Select all
#/usr/lib/systemd/system/sabnzbdplus.service
[Unit]
Description=Sabnzbd
Wants=network-online.target
After=network-online.target
[Service]
User=sabnzbd
Group=media
ExecStart=/usr/bin/sabnzbdplus --config-file /home/sabnzbd/.sabnzbd/sabnzbd.ini --logging 1 --daemon
Type=forking
Restart=on-failure
[Install]
WantedBy=multi-user.target
If this happens I simply run sudo systemctl restart sabnzbdplus.service a few times until it successfully starts without the "Signal 15 interruption"....
2021-04-06 16:47:03,758::INFO::[notifier:122] Sending notification: Warning - Signal 15 caught, saving and exiting... (type=warning, job_cat=None)
2021-04-06 16:47:03,757::WARNING::[__init__:210] Signal 15 caught, saving and exiting...
2021-04-06 16:47:03,758::INFO::[__init__:460] [N/A] Performing SABnzbd shutdown
2021-04-06 16:47:03,758::INFO::[__init__:367] SABnzbd shutting down...
...
I'd really appreciate some guidance on how to "make the script right"
Thanks & best regards,
Mike