[Solved] Sabnzbd Fails to Launch as a Service
Background: When launching sabnzbd as a user, it launches without fault, by calling python /usr/lib/sabnzbd/SABnzbd.py. However, when wanting to manage this as a daemonised service, it fails. The service file reads,
type = process
command = /usr/lib/sabnzbd/SABnzbd.py -l0 -f /var/lib/sabnzbd/sabnzbd.ini
logfile = /var/log/dinit/sabnzbd.log
waits-for = loginready
run-as = sabnzbd
The log outputs an error related to parsing PATH, stating AttributeError: 'NoneType' object has no attribute 'split'. I am confused by this since this error only occurs when launched as a service.
Does anybody have any recommendation to solve this error?