aboutsummaryrefslogtreecommitdiff
path: root/usr.sbin/daemon/daemon.c
Commit message (Expand)AuthorAgeFilesLines
* Fork a child process and wait until the process terminates when the -PJaakko Heinonen2014-04-061-1/+1
* 1. Properly clean pid files in the case of the error.Mikolaj Golub2013-09-191-18/+27
* add support for writing the pid of the daemon program to a pid file soJohn-Mark Gurney2013-09-131-7/+28
* Remove bogus '-' from getopt(3) string hit when porting daemon(8) toMarius Strobl2013-01-031-1/+1
* Document -r option in SYNOPSIS and usage statement.Mikolaj Golub2012-06-041-1/+1
* On a child exit, call waitpid(2) to clean up the process table.Mikolaj Golub2012-06-041-0/+4
* If permitted protect the supervisor against pageout kill.Mikolaj Golub2012-02-191-0/+7
* Add -r option to restart the program if it has been terminated.Mikolaj Golub2012-02-191-17/+28
* If the supervising process receives SIGTERM, forward it to the spawnedMikolaj Golub2012-02-191-11/+66
* The pidfile_open(3) is going to be fixed to set close-on-exec in orderMikolaj Golub2012-02-191-18/+46
* Revert 229667: After some discussion of this change, it seems it isGuy Helmer2012-01-251-3/+3
* Allow daemon(8) to run pidfile_open() before relenquishing privilegesGuy Helmer2012-01-051-3/+3
* Unbreak rev 1.7's getopt usage. The -f switch does not take an argument.Peter Wemm2007-04-191-1/+1
* Improve previous commit by using setusercontext(3) and removing the groupTom Rhodes2007-03-191-36/+18
* Initialize *pfh to NULL to quiet a gcc warning, not part of my originalTom Rhodes2007-03-091-1/+1
* Add support for dropping privileges to a specified user and/or group.Tom Rhodes2007-03-091-4/+46
* Teach daemon(8) how to use pidfile(3).Pawel Jakub Dawidek2005-08-241-9/+14
* Give daemon(8) the ability to create a pid-file. Since the target programPoul-Henning Kamp2004-06-021-5/+37
* add FBSDIDPhilippe Charnier2003-07-061-1/+3
* Add a new utility that runs an executable detached from theMike Barcroft2001-08-301-0/+78