summaryrefslogtreecommitdiff
path: root/parabolaweb.service
diff options
context:
space:
mode:
Diffstat (limited to 'parabolaweb.service')
-rw-r--r--parabolaweb.service3
1 files changed, 2 insertions, 1 deletions
diff --git a/parabolaweb.service b/parabolaweb.service
index 4c3fb8c..a59d585 100644
--- a/parabolaweb.service
+++ b/parabolaweb.service
@@ -5,8 +5,9 @@ Description=ParabolaWeb
[Service]
Type=forking
-ExecStart=/usr/sbin/parabolaweb-fcgi pidfile=/run/web/parabolaweb.pid
PIDFile=/run/web/parabolaweb.pid
+ExecStartPre=/usr/bin/install -dm777 /run/web
+ExecStart=/usr/sbin/parabolaweb-fcgi pidfile=/run/web/parabolaweb.pid
[Install]
WantedBy=multi-user.target