summary refs log tree commit diff
path: root/daemon.h (follow)
Commit message (Collapse)AuthorAge
* Clean up includesJune 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.
* Add privileged servicesJune McEnroe2020-08-16
| | | | | | This allows running things like kfcgi which do their own privilege dropping and chrooting. Need to update the examples with something like that.
* Add 126 to hardcoded stop exitsJune 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
* Add reset interval after which restart interval is resetJune McEnroe2020-08-15
|
* 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
|
* Implement serviceSignal, serviceStop, serviceRestartJune McEnroe2020-08-14
|
* Switch to timespec for timeoutsJune McEnroe2020-08-14
| | | | Can be passed to ppoll(2) directly.
* Implement serviceStartJune McEnroe2020-08-14
|
* Flesh out Service structJune McEnroe2020-08-14
|
* Build environment for servicesJune McEnroe2020-08-14
|
* Implement spawntab parsingJune McEnroe2020-08-14
|
* Implement user and group lookupJune McEnroe2020-08-14
|
* Add spawnd skeletonJune McEnroe2020-08-14
/td>June McEnroe Absolutely indiscriminately. 2022-06-02Do basic match highlightingJune McEnroe 2022-06-02Clean up parsing a littleJune McEnroe 2022-06-02Don't duplicate path stringJune McEnroe 2022-06-02Use stderr instead of /dev/tty, realloc buffer if lines too longJune McEnroe For some reason I haven't been able to figure out, trying to poll /dev/tty returns POLLNVAL (and this was using 100% CPU looping), but using stderr instead works fine. 2022-06-02Add initial working version of qfJune McEnroe 2022-05-29Set prompt for okshJune McEnroe