On Fri, May 3, 2013 at 6:37 PM, S. Dale Morrey <[email protected]> wrote:
> I have a daemon that has the potential to cause havoc if started as root.
> It was designed to run as root, fortunately the binary does know how to
> daemonize itself.
>
> This is on ubuntu 13.04.
>
> Normally I would just create a bash script to start & stop it, but I
> remember a few weeks ago we were saying init scripts were not best practice
> anymore.  So what's the best way now, or was that whole discussion only for
> other distros?

Best practice, IMHO, is to use whatever init system your system uses.
In the case of Ubuntu that is Upstart.
Upstart jobs are very easy to create.  But you can still use a regular
SysV init script if you want it's still supported the same way it was
back in Ye Olde Times.

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to