LazyLibrarian/init
RooHTaylor aabb2b600b Fix init script issues
Init.d script contained a space after the `--daemon` flag, which would ultimately become a double space when paired with any of the following flags. The double space would cause the `pgrep` in the `is_running()` function to not find any results, since the double space would be parsed out by the kernel but still exist in the `$DAEMON_OPTS` variable that is being used to grep. When `is_running()` fails the application cannot be stopped, since it doesn't believe it's running.

Additionally, on certain versions of Debian there is an issue when running `start-stop-daemon` with a `--pidfile` that is not owned by root. This causes the stop command to fail and an error to be displayed. Include the `--user $RUN_AS` flag as a workaround.
2025-03-12 03:35:46 +00:00
..
COPYING.txt Issue 4 - merge in Herman Rodgers branch - alot of work in it 2013-06-06 22:18:27 +01:00
freebsd.initd freebsd.initd: Add more rc.conf control and checks 2018-08-07 18:58:57 -07:00
INSTALL.txt Rewritten init scripts for consistency 2017-04-25 16:50:00 +02:00
lazylibrarian.default Changed directory to match git clone 2018-02-13 17:41:07 +01:00
lazylibrarian.desktop Add progress and file list to rtorrent 2018-09-02 10:47:12 +02:00
lazylibrarian.initd Fix init script issues 2025-03-12 03:35:46 +00:00
lazylibrarian.service Rewritten init scripts for consistency 2017-04-25 16:50:00 +02:00
lazylibrarian.sh Add progress and file list to rtorrent 2018-09-02 10:47:12 +02:00