From 7d04a0f5e055a9067e0f6618de54c3bd56bdc999 Mon Sep 17 00:00:00 2001 From: "C. McEnroe" Date: Sun, 16 Aug 2020 17:28:57 -0400 Subject: 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. --- daemon.h | 1 + 1 file changed, 1 insertion(+) (limited to 'daemon.h') 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; -- cgit 1.4.1