summary refs log tree commit diff
Commit message (Collapse)AuthorAge
...
* Set title on control commandsC. McEnroe2020-08-15
| | | | If a control command starts a service, the title should be updated.
* Add 126 to hardcoded stop exitsC. McEnroe2020-08-15
| | | | | | | | | > If a command is not found, the exit status shall be 127. If the > command name is found, but it is not an executable utility, the exit > status shall be 126. Applications that invoke utilities without using > the shell should use these exit status values to report similar errors. [1]: https://pubs.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_08_02
* Remove EX_CONFIG from default stopexitsC. McEnroe2020-08-15
| | | | I've used it for "remote" configuration which could change.
* Avoid "control named pipe" phraseC. McEnroe2020-08-15
|
* Check if pipe is writable in wrapperC. McEnroe2020-08-15
|
* Parse config laterC. McEnroe2020-08-15
| | | | | This is just to keep the list of open file descriptors tidier, since parsing the config creates many pipes.
* Only log signals other than SIGTERMC. McEnroe2020-08-15
|
* Clarify restart interval in catsitd manualC. McEnroe2020-08-15
|
* Fix resetting restart interval with explicit restartC. McEnroe2020-08-15
|
* Add reset interval after which restart interval is resetC. McEnroe2020-08-15
|
* Log when service name pattern doesn't matchC. McEnroe2020-08-15
|
* Add FreeBSD rc scriptC. McEnroe2020-08-15
| | | | I'm expecting to also have an OpenBSD rc script.
* Call setproctitle with number of servicesC. McEnroe2020-08-15
|
* Rename project to catsitC. McEnroe2020-08-15
|
* Use only LOG_NOTICE and LOG_WARNINGC. McEnroe2020-08-15
| | | | | These are the two priorities that go to a normal place (/var/log/messages) by default.
* Make log messages consistentC. McEnroe2020-08-15
|
* Remove closelog callC. McEnroe2020-08-15
| | | | | It's unclear whether closelog is really safe to call in pre-exec context, so just trust that the log is opened with CLOEXEC.
* Implement service statusC. McEnroe2020-08-15
|
* Parse control commandsC. McEnroe2020-08-15
|
* Read service pipesC. 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 readingC. McEnroe2020-08-15
|
* Generate tags fileC. McEnroe2020-08-15
|
* Just use CLOCK_MONOTONIC and clean up includesC. McEnroe2020-08-15
| | | | CLOCK_MONOTONIC exists everywhere.
* Reap childrenC. McEnroe2020-08-15
|
* Implement serviceSignal, serviceStop, serviceRestartC. McEnroe2020-08-14
|
* Reset restartInterval and restartDeadline on startC. McEnroe2020-08-14
|
* Switch to timespec for timeoutsC. McEnroe2020-08-14
| | | | Can be passed to ppoll(2) directly.
* Implement serviceStartC. McEnroe2020-08-14
|
* Flesh out Service structC. McEnroe2020-08-14
|
* Build environment for servicesC. McEnroe2020-08-14
|
* Implement spawntab parsingC. McEnroe2020-08-14
|
* Open syslog, daemonize, write PIDC. McEnroe2020-08-14
|
* Implement user and group lookupC. McEnroe2020-08-14
|
* Add install targetC. McEnroe2020-08-14
|
* Add spawnd skeletonC. McEnroe2020-08-14
|
* Add prospective manual page for spawntabC. McEnroe2020-08-14
|
* Add tentative implementation of spawn(8)C. McEnroe2020-08-14
|
* Add prospective manual page for spawnC. McEnroe2020-08-14
|
* Add prospective manual page for spawndC. McEnroe2020-08-14