debian man page for pidfilehack

Query: pidfilehack

OS: debian

Section: 8

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pidfilehack(8)						      System Manager's Manual						    pidfilehack(8)

NAME
pidfilehack - work around daemons that always fork
SYNOPSIS
pidfilehack servicename pidfile command [parameters]
DESCRIPTION
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.
USAGE
usually pidfilehack is symlinked as run command of a service. servicename the name of the service pidfilehack is installed for. pidfile the filename to read the pid from command the real command to start parameters additional parameters for the command A typical use of this command will look like this: /etc/minit/apache /etc/minit/apache/params apache /var/run/apache.pid apachectl start /etc/minit/apache/run -> /sbin/pidfilehack
AUTHOR
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 <erich@debian.org> for the Debian GNU/Linux operating system.
SEE ALSO
msvc(8), pidfilehack(8) pidfilehack(8)
Related Man Pages
apache(1m) - opensolaris
netdump-server(8) - redhat
pidfile(3) - netbsd
casperd(8) - freebsd
file::pid(3pm) - debian
Similar Topics in the Unix Linux Community
How to fix a fault with apache in SUN server
How to find the process that is using the port 80 and apache server.
How to start Apache2 and vsftpd at boot
Bash: permission denied
Image not displaying through apache