letorbi / synoindexwatcher

An automated media index updater for Synology DiskStations.
GNU General Public License v3.0
69 stars 7 forks source link

Init script improvements #26

Closed letorbi closed 4 years ago

letorbi commented 4 years ago

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).