diff options
| author | June McEnroe <june@causal.agency> | 2020-08-16 17:28:57 -0400 | 
|---|---|---|
| committer | June McEnroe <june@causal.agency> | 2020-08-16 17:28:57 -0400 | 
| commit | 7d04a0f5e055a9067e0f6618de54c3bd56bdc999 (patch) | |
| tree | 2d46aedcc2bc33f2ff990096f1999efc5c0bdf74 /daemon.h | |
| parent | Clear groups list for services (diff) | |
| download | catsit-7d04a0f5e055a9067e0f6618de54c3bd56bdc999.tar.gz catsit-7d04a0f5e055a9067e0f6618de54c3bd56bdc999.zip | |
Add privileged services
This allows running things like kfcgi which do their own privilege dropping and chrooting. Need to update the examples with something like that.
Diffstat (limited to 'daemon.h')
| -rw-r--r-- | daemon.h | 1 | 
1 files changed, 1 insertions, 0 deletions
| diff --git a/daemon.h b/daemon.h index 0dcf4de..d625df2 100644 --- a/daemon.h +++ b/daemon.h @@ -112,6 +112,7 @@ enum State { struct Service { char *name; char *command; + bool privileged; enum State intent; enum State state; pid_t pid; |