[Calypso] [PATCH] Correct and clean up init.d script
Guido Günther
agx at sigxcpu.org
Wed Jan 27 09:25:57 PST 2016
On Mon, Jan 25, 2016 at 09:04:17PM +0100, Petter Reinholdtsen wrote:
>
> Based on the changes from chrysn at fsfe.org, I had a closer look at the
> init.d script and propose to change it like this:
>
> - Use correct path to program (/usr/bin, not /usr/sbin).
> - Stop running as root, run as user calypso, and move pidfile to a
> place writable by this user.
> - By default, only listen on 127.0.0.1.
> - Remove unused / disabled code.
> - Change indentation from spaces and tabs to 4 spaces.
Pushed. Note that this needs a major update when brought into debian
(adding the user, NEWS entry, ...) so a patch for this would be helpful
too.
Cheers
-- Guido
More information about the Calypso
mailing list