about summary refs log tree commit diff
path: root/service.c (follow)
Commit message (Collapse)AuthorAge
* 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
* Only log signals other than SIGTERMJune McEnroe2020-08-15
|
* Fix resetting restart interval with explicit restartJune McEnroe2020-08-15
|
* Add reset interval after which restart interval is resetJune 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.
* Make log messages consistentJune McEnroe2020-08-15
|
* Remove closelog callJune 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 statusJune 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.
* 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
|
* Reset restartInterval and restartDeadline on startJune McEnroe2020-08-14
|
* 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