aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--packages/stunnel.xml2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/stunnel.xml b/packages/stunnel.xml
index 41f6a4f5..85e43081 100644
--- a/packages/stunnel.xml
+++ b/packages/stunnel.xml
@@ -137,8 +137,10 @@
config_unlock();
system("/usr/bin/killall stunnel 2>/dev/null");
system("/usr/local/etc/rc.d/stunnel.sh start 2>/dev/null");
+ ]]>
</custom_add_php_command_late>
<custom_php_install_command>
+ <![CDATA[
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);