Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bin/rc: Fix crash on missing cache dir, don't clean PIDsHEADmaster | P. J. McDermott | 2018-06-04 | 1 | -7/+5 |
| | |||||
* | bin/rc: Don't truncate log | P. J. McDermott | 2018-06-04 | 1 | -1/+1 |
| | |||||
* | bin/rc: Fix daemon crash when session types contain ":" | P. J. McDermott | 2018-06-04 | 1 | -1/+3 |
| | |||||
* | bin/rc: Log output and change PID dir | P. J. McDermott | 2018-06-04 | 1 | -2/+3 |
| | |||||
* | bin/svc: Change PID dir, fix newlines on empty cmd output | P. J. McDermott | 2018-06-04 | 1 | -7/+8 |
| | |||||
* | bin/rc: Invalidate session types with empty ancestor types | P. J. McDermott | 2018-06-04 | 1 | -4/+4 |
| | | | | And replace unnecessary double quotes with no interpolation. | ||||
* | bin/rc: Expose "bye" daemon cmd as "quit" action in CLI | P. J. McDermott | 2018-06-04 | 1 | -1/+23 |
| | |||||
* | bin/rc: Close and reopen RC FIFO to make read block | P. J. McDermott | 2018-06-04 | 1 | -2/+2 |
| | | | | | | | Otherwise, after every command is read and handled, the read utility immediately returns failure due to EOF on every call until another command is written to the RC FIFO, causing the listening loop to become busy and burn CPU time. | ||||
* | bin/rc: Fix svc script dir and session type validation | P. J. McDermott | 2018-06-04 | 1 | -3/+3 |
| | |||||
* | bin/rc: Ignore SIGHUP and don't halt svc running on error | P. J. McDermott | 2018-06-03 | 1 | -49/+42 |
| | | | | | | | Fix run_services() parameters, function call error handling, the daemon printing to the closed standard error FD, a crash due to an empty session type in the status command, and a crash when given an unwritable status response file name. Also document the session type format. | ||||
* | bin/svc: Fix error handling | P. J. McDermott | 2018-06-03 | 1 | -16/+6 |
| | |||||
* | bin/svc: Print service output after action message | P. J. McDermott | 2018-06-03 | 1 | -4/+10 |
| | |||||
* | bin/svc: Add action msgs and fix default restart func | P. J. McDermott | 2018-06-03 | 1 | -18/+65 |
| | | | | And wrap function calls in conditionals. | ||||
* | bin/svc: New script | P. J. McDermott | 2018-06-03 | 2 | -0/+135 |
| | |||||
* | bin/rc: Daemonize, add status cmd, and run svcs | P. J. McDermott | 2018-06-03 | 1 | -66/+183 |
| | | | | | And pass old and new session type lists to services instead of list of added or removed session type and ancestor types. | ||||
* | bin/rc: New script | P. J. McDermott | 2018-06-03 | 2 | -0/+202 |
| | |||||
* | .gitignore.d/homerc: New file | P. J. McDermott | 2018-06-03 | 1 | -0/+12 |