Daemon starts multiple copies, none of which work
Regardless of the init system used, the daemon starts multiple copies of the script that actually tails the logs.
Under systemd, service.sh
doesn't work. It runs, and calls pipe.sh
, but nothing is piped.
Repo history shows my various init attempts.
Until resolved, I'm calling pipe.sh
manually, via rc.local
.
- https://todoist.com/showTask?id=2241776307
- https://linuxconfig.org/how-to-automatically-execute-shell-script-at-startup-boot-on-systemd-linux
- https://stackoverflow.com/questions/3430330/best-way-to-make-a-shell-script-daemon
- http://blog.getpostman.com/2015/12/23/stream-any-log-file-to-slack-using-curl/
- http://koo.fi/blog/2013/03/09/init-script-for-daemonizing-non-forking-processes/