Provided by: minit_0.9.1.cvs20040418-1_i386
pidfilehack - work around daemons that always fork
pidfilehack servicename pidfile command [parameters]
pidfilehack is used to work around daemons that insist on forking into
the background, but that do write a correct pid file.
pidfilehack forks the actual service, then waits for the pidfile to be
written. Once it can read the pid from the pidfile it will tell minit
the real pid and quit.
usually pidfilehack is symlinked as run command of a service.
the name of the service pidfilehack is installed for.
the filename to read the pid from
the real command to start
additional parameters for the command
A typical use of this command will look like this:
minit was written by Felix von Leitner and can be downloaded from his
page at http://www.fefe.de/minit/
This manpage was written by Erich Schubert <email@example.com> for the
Debian GNU/Linux operating system.