I can't use it because the daemon forks, so, the pid used saved with make-pidfile is not real. I think i am going to create a new directory inside /var/run with permissions for the user. Thanks. El 08 Dec 2000 a las 05:41PM -0900, Ethan Benson escribio: > On Sat, Dec 09, 2000 at 12:47:52AM +0100, Andres Seco Hernandez wrote: > > Again here. > > > > In my last message: > > > > > Finally, i will use the start-stop-daemon chuid option. > > > > But then, the file /var/run/daemonname.pid can not be created from the own > > daemon. /var/run hasn't write permisions for the user used in chuid. > > use the --make-pidfile option to start-stop-daemon. > > -- > Ethan Benson > http://www.alaska.net/~erbenson/ -- Andres Seco Hernandez, MCP ID 445900 AndresSH@ctv.es - http://www.ctv.es/USERS/andressh GnuPG public information: pub 1024D/3A48C934 E61C 08A9 EBC8 12E4 F363 E359 EDAC BE0B 3A48 C934 -------------------------------------------------- Alamin GSM SMS Gateway - http://alamin.sourceforge.net Debian GNU/Linux - http://www.debian.org
Attachment:
pgp1HONtRdxyQ.pgp
Description: PGP signature