Default systemd service file consistently fails to execute due to invalid user and group. User=%I Group=%I is causing service execution failure. Nov 23 04:44:54 illusion systemd[24207]: sabnzbd@illusion.service: Failed to determine user credentials: No such process -- Subject: Process /usr/share/sabnzbd/SABnzbd.py could not be executed -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- The process /usr/share/sabnzbd/SABnzbd.py could not be executed and failed. -- -- The error number returned by this process is 3. Nov 23 04:44:54 illusion systemd[1]: sabnzbd@illusion.service: Main process exited, code=exited, status=217/USER Nov 23 04:44:54 illusion systemd[1]: sabnzbd@illusion.service: Unit entered failed state. Nov 23 04:44:54 illusion systemd[1]: sabnzbd@illusion.service: Failed with result 'exit-code'. [Unit] Description=SABnzbd binary newsreader [Service] ExecStart=/usr/share/sabnzbd/SABnzbd.py --logging 1 --browser 0 User=%I Group=%I [Install] WantedBy=multi-user.target This example below does work [Unit] Description=SABnzbd binary newsreader [Service] ExecStart=/usr/share/sabnzbd/SABnzbd.py --logging 1 --browser 0 User=sabnzbd Group=sabnzbd [Install] WantedBy=multi-user.target Nov 23 04:48:58 illusion systemd[1]: Reloading. Nov 23 04:48:58 illusion systemd[1]: Configuration file /usr/lib/systemd/system/sabnzbd@.service is marked world-inaccessible. This has no effect as configuration data is accessible via APIs without restrictions. Proceeding anyway. Nov 23 04:49:04 illusion systemd[1]: Started SABnzbd binary newsreader. -- Subject: Unit sabnzbd@illusion.service has finished start-up -- Defined-By: systemd -- Support: https://lists.freedesktop.org/mailman/listinfo/systemd-devel -- -- Unit sabnzbd@illusion.service has finished starting up. -- -- The start-up result is done.
commit eccfe4fbb1ec9a8c735e81a7decdec939510148c Author: Justin Bronder <jsbronder@gentoo.org> Date: Sun Nov 26 14:26:43 2017 -0500 net-nntp/sabnzbd: fix sabnzbd service Thanks to Mike Crawford for the report and fix. #638560. Package-Manager: Portage-2.3.13, Repoman-2.3.3