Gary Law <gary....@gmail.com> writes:

> The init script is clearly trying to make the pid file appear in
> /var/run/puppet... so I've little idea why this is happening.
>
> from the init script:
> start_puppet() {
>         start-stop-daemon --start --quiet --pidfile
> /var/run/puppet/$NAME.pid \
>                 --startas $DAEMON -- $DAEMON_OPTS
> }

That flag doesn't say where to write the PID file.  It tells
start-stop-daemon where puppetd *will* write the PID file.  You still
have to configure puppetd elsewhere (in puppet.conf, specifically) to
put the PID file there.

Everyone seems to get confused about what the --pidfile option to
start-stop-daemon does.  It doesn't create anything at all.  It just
says where to find something that the daemon is creating.

-- 
Russ Allbery (r...@stanford.edu)             <http://www.eyrie.org/~eagle/>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to puppet-users@googlegroups.com
To unsubscribe from this group, send email to 
puppet-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to