Apart from closing the issues above this PR also removes the --pidfile argument, since the pid-file can now easily be set within the init-script itself. The path of the pid-file is not created automatically anymore.
Also the default output device has been changed: Is is now /var/log/synoindexwatcher.log, if the process is not attached to a terminal (e.g. when it has been started via the init-script). If the process is attached to a terminal, everything stays as it was (messages are written to the standard output).
Closes #10, closes #18, closes #24
Apart from closing the issues above this PR also removes the
--pidfile
argument, since the pid-file can now easily be set within the init-script itself. The path of the pid-file is not created automatically anymore.Also the default output device has been changed: Is is now /var/log/synoindexwatcher.log, if the process is not attached to a terminal (e.g. when it has been started via the init-script). If the process is attached to a terminal, everything stays as it was (messages are written to the standard output).