summary refs log tree commit diff
path: root/daemon.h (follow)
Commit message (Collapse)AuthorAge
* 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
; [Tue Jun 10 17:45:32 2014] [error] [client 172.21.1.6] Premature end > of script headers: cgit, referer: > http://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/ The cache will kick in, so if you search for the same string again, it'll show an empty range, so you have to change the bogus strings each time. This is because we just pass the arguments straight to Git's revision parsing machinery which die()s if it cannot parse an argument, printing the above to stderr and exiting. The patch below makes it a bit friendlier by just ignoring unhandled arguments, but I can't see an easy way to report errors when we can't parse revision arguments without losing the flexibility of supporting all of the revision specifiers supported by Git. Reported-by: Konstantin Ryabitsev <mricon@kernel.org> 2014-06-28git: update for git 2.0Christian Hesse prefixcmp() and suffixcmp() have been remove, functionality is now provided by starts_with() and ends_with(). Retrurn values have been changed, so instead of just renaming we have to fix logic. Everything else looks just fine. 2014-04-17remove trailing whitespaces from source filesChristian Hesse 2014-04-12git: update to 1.9.2Christian Hesse Everything works just bumping the version in Makefile and commit hash in submodule. No code changes required. 2014-04-05Fix cgit_parse_url when a repo url is contained in another repo urlJulian Maurice For example, if I have two repos (remove-suffix is enabled): /foo /foo/bar http://cgit/foo/bar/ is interpreted as "repository 'foo', command 'bar'" instead of "repository 'foo/bar'" 2014-03-20Makefile: use more reliable git tarball mirrorJason A. Donenfeld 2014-03-20git: update to 1.9.1Christian Hesse