summary refs log tree commit diff
path: root/daemon.c (follow)
Commit message (Collapse)AuthorAge
* Use a separate fd for the fake fifo writerJune McEnroe2020-08-17
| | | | | | | From OpenBSD open(2): > A FIFO should either be opened with O_RDONLY or with O_WRONLY. The > behavior for opening a FIFO with O_RDWR is undefined.
* Use a non-blocking lock on the PID fileJune McEnroe2020-08-17
|
* Truncate PID file after opening and lockingJune McEnroe2020-08-17
|
* Simplify parseConfig error handlingJune McEnroe2020-08-17
|
* Add drop commandJune McEnroe2020-08-16
|
* Don't set LOGNAMEJune McEnroe2020-08-16
| | | | LOGNAME is a SysV thing. This is a BSD program.
* Set title after reloadJune McEnroe2020-08-16
|
* Set title on control commandsJune McEnroe2020-08-15
| | | | If a control command starts a service, the title should be updated.
* Remove EX_CONFIG from default stopexitsJune McEnroe2020-08-15
| | | | I've used it for "remote" configuration which could change.
* Parse config laterJune McEnroe2020-08-15
| | | | | This is just to keep the list of open file descriptors tidier, since parsing the config creates many pipes.
* Add reset interval after which restart interval is resetJune McEnroe2020-08-15
|
* Log when service name pattern doesn't matchJune McEnroe2020-08-15
|
* Call setproctitle with number of servicesJune McEnroe2020-08-15
|
* Rename project to catsitJune McEnroe2020-08-15
|
* Use only LOG_NOTICE and LOG_WARNINGJune McEnroe2020-08-15
| | | | | These are the two priorities that go to a normal place (/var/log/messages) by default.
* Implement service statusJune McEnroe2020-08-15
|
* Parse control commandsJune McEnroe2020-08-15
|
* Read service pipesJune McEnroe2020-08-15
| | | | | Changed line reading functions to return const char * because modifying the strings by adding '\0' into them screws up the following call.
* Implement non-blocking line-buffered readingJune McEnroe2020-08-15
|
* Just use CLOCK_MONOTONIC and clean up includesJune McEnroe2020-08-15
| | | | CLOCK_MONOTONIC exists everywhere.
* Reap childrenJune McEnroe2020-08-15
|
* Switch to timespec for timeoutsJune McEnroe2020-08-14
| | | | Can be passed to ppoll(2) directly.
* Implement serviceStartJune McEnroe2020-08-14
|
* Build environment for servicesJune McEnroe2020-08-14
|
* Implement spawntab parsingJune McEnroe2020-08-14
|
* Open syslog, daemonize, write PIDJune McEnroe2020-08-14
|
* Implement user and group lookupJune McEnroe2020-08-14
|
* Add spawnd skeletonJune McEnroe2020-08-14