Commit message (Collapse) | Author | Age | |
---|---|---|---|
* | Drop pledge privileges after daemonization 1.2 | June McEnroe | 2021-02-01 |
| | |||
* | Check signals first in the loop | June McEnroe | 2021-02-01 |
| | | | | | | | Signals need to be checked first in the loop to catch any that were delivered between setting up the signals handlers and entering the loop, i.e. in the time it takes to initially start each of the services. | ||
* | Refactor unveil calls so errors can be reported properly | June McEnroe | 2020-11-10 |
| | |||
* | Do not increment signals | June McEnroe | 2020-10-27 |
| | | | | | No need to do a read and a write... and it's declared volatile so maybe that's even worse? I don't even know, but there's no point. | ||
* | Only look up group if one is named | June McEnroe | 2020-10-23 |
| | |||
* | Remove default defines of RUNDIR, ETCDIR | June McEnroe | 2020-10-23 |
| | |||
* | Remove useless setprogname call | June McEnroe | 2020-08-17 |
| | |||
* | Use pledge(2) and unveil(2) on OpenBSD | June McEnroe | 2020-08-17 |
| | |||
* | Use a separate fd for the fake fifo writer | June McEnroe | 2020-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 file | June McEnroe | 2020-08-17 |
| | |||
* | Truncate PID file after opening and locking | June McEnroe | 2020-08-17 |
| | |||
* | Simplify parseConfig error handling | June McEnroe | 2020-08-17 |
| | |||
* | Add drop command | June McEnroe | 2020-08-16 |
| | |||
* | Don't set LOGNAME | June McEnroe | 2020-08-16 |
| | | | | LOGNAME is a SysV thing. This is a BSD program. | ||
* | Set title after reload | June McEnroe | 2020-08-16 |
| | |||
* | Set title on control commands | June McEnroe | 2020-08-15 |
| | | | | If a control command starts a service, the title should be updated. | ||
* | Remove EX_CONFIG from default stopexits | June McEnroe | 2020-08-15 |
| | | | | I've used it for "remote" configuration which could change. | ||
* | Parse config later | June McEnroe | 2020-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 reset | June McEnroe | 2020-08-15 |
| | |||
* | Log when service name pattern doesn't match | June McEnroe | 2020-08-15 |
| | |||
* | Call setproctitle with number of services | June McEnroe | 2020-08-15 |
| | |||
* | Rename project to catsit | June McEnroe | 2020-08-15 |
| | |||
* | Use only LOG_NOTICE and LOG_WARNING | June McEnroe | 2020-08-15 |
| | | | | | These are the two priorities that go to a normal place (/var/log/messages) by default. | ||
* | Implement service status | June McEnroe | 2020-08-15 |
| | |||
* | Parse control commands | June McEnroe | 2020-08-15 |
| | |||
* | Read service pipes | June McEnroe | 2020-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 reading | June McEnroe | 2020-08-15 |
| | |||
* | Just use CLOCK_MONOTONIC and clean up includes | June McEnroe | 2020-08-15 |
| | | | | CLOCK_MONOTONIC exists everywhere. | ||
* | Reap children | June McEnroe | 2020-08-15 |
| | |||
* | Switch to timespec for timeouts | June McEnroe | 2020-08-14 |
| | | | | Can be passed to ppoll(2) directly. | ||
* | Implement serviceStart | June McEnroe | 2020-08-14 |
| | |||
* | Build environment for services | June McEnroe | 2020-08-14 |
| | |||
* | Implement spawntab parsing | June McEnroe | 2020-08-14 |
| | |||
* | Open syslog, daemonize, write PID | June McEnroe | 2020-08-14 |
| | |||
* | Implement user and group lookup | June McEnroe | 2020-08-14 |
| | |||
* | Add spawnd skeleton | June McEnroe | 2020-08-14 |