summaryrefslogtreecommitdiff
path: root/parabolaweb.service
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 09:56:33 -0400
committerLuke Shumaker <LukeShu@sbcglobal.net>2012-10-22 09:56:33 -0400
commitb27f7f38470297397a50e6fe810ccd908dc19fb7 (patch)
tree8015483e70242f15dc0c84c2d99d85bd85ab54d0 /parabolaweb.service
parentf3e2ecc55ffd3c218515436843e4e6493825441f (diff)
improve libre/parabolaweb-utils
filesystem: * parabolaweb{-fcgi,-update,.conf}: make the installation directory configurable * parabolaweb.{rc,service}: take care of file-permissions with the pidfile
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