summaryrefslogtreecommitdiff
path: root/usr.sbin/daemon/daemon.c
AgeCommit message (Expand)Author
2024-11-19daemon: stop rebuilding the kqueue every restart of the childKyle Evans
2024-11-19daemon: truncate the pidfile when we're waiting to restart childKyle Evans
2024-05-22daemon: Add -C (--restart-count) optionJuraj Lutter
2024-04-13daemon: fix -R to enable supervision modeMathieu
2024-04-12daemon: Prefer sys/cdefs.h __unreachable over the builtinCollin Funk
2024-03-20daemon(8): handle case of waitpid() returning without exited childKonstantin Belousov
2023-12-27daemon: fix recent style regressionsKyle Evans
2023-12-27daemon: separate pipe_fd[2] into pipe_rd and pipe_wrIhor Antonov
2023-12-27daemon: replace memchr with memrchrIhor Antonov
2023-12-27daemon: move buffer into daemon_stateIhor Antonov
2023-12-27daemon: remove redundant parameter from listen_child()Ihor Antonov
2023-12-27daemon: fix clang-tidy warningsIhor Antonov
2023-11-26usr.sbin: Automated cleanup of cdefs and other formattingWarner Losh
2023-10-06daemon: Disable stdio buffering.Dag-Erling Smørgrav
2023-08-16Remove $FreeBSD$: one-line .c patternWarner Losh
2023-05-05daemon: EINTR from kevent(2) is not a fatal errorKyle Evans
2023-04-14daemon: use kqueue for all eventsIhor Antonov
2023-03-22daemon: reformat longoptsKyle Evans
2023-03-22daemon: decouple init logic from main loopIhor Antonov
2023-03-20daemon: move signal setup into a functionIhor Antonov
2023-03-18daemon: kill off some stray blank linesKyle Evans
2023-03-18daemon: remove unnecessary memset in daemon_state_init()Ihor Antonov
2023-03-18daemon: repace goto exit with daemon_terminate()Ihor Antonov
2023-03-12daemon: move variables into struct daemon_stateIhor Antonov
2023-03-02daemon: set supervise_enabled during argument processingIhor Antonov
2023-03-02daemon: decouple restart variableIhor Antonov
2023-03-02daemon: add braces to while loopIhor Antonov
2023-03-02daemon: simplify if/else chainIhor Antonov
2023-03-02daemon: change type of listen_child() to C99 boolIhor Antonov
2023-03-02daemon: flatten and simplify fork() logicIhor Antonov
2023-03-02daemon: style changesIhor Antonov
2023-03-01daemon: more human-friendly variable namesIhor Antonov
2023-03-01daemon: move syslog facility and syslog tag into log_paramsIhor Antonov
2023-03-01daemon: deduplicate log_params varaiblesIhor Antonov
2023-03-01daemon: make log_reopen variable a boolIhor Antonov
2023-03-01daemon: make dosyslog variable a bool and give it a better nameIhor Antonov
2023-03-01daemon: add supervision_enabled varIhor Antonov
2023-03-01daemon: initialize struct sigaction at declaration siteIhor Antonov
2023-03-01daemon: fix double init of pid variableIhor Antonov
2023-03-01daemon: initialize mask_orig with sigemptyset()Ihor Antonov
2023-03-01daemon: consolidate variable declarations and initializaionsIhor Antonov
2023-03-01daemon: use braces with 'if' consistentlyIhor Antonov
2023-02-09daemon: add long_optsIhor Antonov
2022-08-12When -u option is used also set USER, HOME and SHELL variables.Maxim Sobolev
2020-09-24dd a new option (-H) to daemon(8) to catch SIGHUP and re-open output_file fil...Maxim Sobolev
2019-06-04daemon(8): Don't block SIGTERM during restart delayConrad Meyer
2018-04-15Add an option to daemon(8) to specify a delay between restarts of aIan Lepore
2017-11-27various: general adoption of SPDX licensing ID tags.Pedro F. Giffuni
2016-10-22daemon: Allow logging daemon stdout/stderr to file or syslog.Jilles Tjoelker
2016-03-03o -t comman line option added to the usage().Maxim Konovalov