mirror of
https://github.com/troglobit/finit.git
synced 2026-10-18 10:59:34 +00:00
plugins: create cache dir for nginx and runstatedir for clixon
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
1 parent
4f7e726a3e
commit
21eda9dd1c
1 file changed
+4
@@ -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();
|
||||
|
||||
|
||||
Reference in new issue
Block a user