How to implement a Linux daemon in bash that can be start/stop by `sudo service`?

Ralf Mardorf silver.bullet at zoho.com
Mon Feb 12 09:32:11 UTC 2018


On Mon, 12 Feb 2018 08:59:36 +0000, Colin Law wrote:
>unless the requirements for you daemon are complex

IOW unless the script isn't a mission to Mars script, chances are good
that somebody subscribed to this list could help you, if you would be
more precise about what you want to achieve, assuming you already
migrated to systemd. If not, don't even consider to write an upstart
script, migrate to systemd before writing the script, since sysvinit,
upstart and Co. are tem­pi pas­sa­ti.





More information about the ubuntu-users mailing list