aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rw-r--r--packages/stunnel.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml
index 8b2ba38d..0b745c48 100644
--- a/packages/stunnel.xml
+++ b/packages/stunnel.xml
@@ -75,7 +75,7 @@
safe_mkdir("/usr/local/etc/stunnel");
system("/usr/bin/openssl req -new -x509 -days 365 -nodes -out /usr/local/etc/stunnel/stunnel.pem -keyout /usr/local/etc/stunnel/stunnel.pem 2>/dev/null");
chmod("/usr/local/etc/stunnel/stunnel.pem", 600);
- make_dirs("/var/tmp/stunnel/var/tmp");
+ system("mkdir /var/tmp/stunnel; mkdir /var/tmp/stunnel/var; mkdir /var/tmp/stunnel/var/tmp; chown -R stunnel:stunnel /var/tmp/stunnel");
chmod("/var/tmp/stunnel/var/tmp/", 1777);
$fout = fopen("/usr/local/etc/rc.d/stunnel.sh","w");
fwrite($fout, "#!/bin/sh\n");