Use pidfiles in example init script
authorGuido Trotter <ultrotter@google.com>
Wed, 23 Jul 2008 14:24:08 +0000 (14:24 +0000)
committerGuido Trotter <ultrotter@google.com>
Wed, 23 Jul 2008 14:24:08 +0000 (14:24 +0000)
commit5947d6ecbd9228d5b9b0b8b54bb2d99c783e4113
tree65c1bf7af2ff54af25b56839991c9d33c8de7b8e
parent8feda3ad450ec7edc6f07d25022b4322a114cdc1
Use pidfiles in example init script

Rather than searching for the ganeti daemons by name we'll use the
pidfile they create to stop them. This change also adds the --oknodo
option to start-stop-daemon when stopping ganeti (which means it won't
give an error if it wasn't started).

Reviewed-by: iustinp
doc/examples/ganeti.initd.in