plugins: create cache dir for nginx and runstatedir for clixon

Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
Joachim Wiberg
2023-02-15 19:21:09 +01:00
parent 4f7e726a3e
commit 21eda9dd1c
+4
View File
@@ -246,6 +246,10 @@ static void setup(void *arg)
if (whichp("restorecon"))
run("restorecon /var/run/sudo /var/run/sudo/ts", "restorecon");
/* XXX: temporary workaround pending new tmpfiles.so plugin */
mksubsys("/var/cache/nxinx", 0755, "www-data", "www-data");
makedir("/var/run/clixon", 0755);
/* Kernel symlinks, e.g. /proc/self/fd -> /dev/fd */
kernel_links();