diff options
author | Wolfgang Müller | 2021-10-29 11:45:32 +0200 |
---|---|---|
committer | Wolfgang Müller | 2023-10-12 12:12:47 +0200 |
commit | 4c2f7e55877aec6ede5dac7354ca401891750962 (patch) | |
tree | e84b5211ff2560e9d03d9f706abbaf46367fbc5b /getdtablecount.c | |
parent | 4e4f2a8b2a10990ed977fefaa6fab92b55f4d31b (diff) | |
download | slowcgi-gentoo.tar.gz |
Add flag to run in the foregroundgentoo
slowcgi already has the -d flag to disable forking, but that particular
flag also stops slowcgi from logging to syslog and is intended for
debugging purposes.
Ordinarily this would be fine, but sadly we know of no clean way to
track the PID of a forked process with Gentoo's OpenRC and its
start-stop-daemon(8). We could add support to write a pidfile instead,
but since we want to support multiple invocations of slowcgi through
OpenRC and ${RC_SVCNAME}, we need a way of specifying the pidfile
location in the init script itself.
To solve this reasonably cleanly, add a flag that *only* controls
whether or not the program daemonizes or not. Make sure to mention this
in the manual too.
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions