From b27f7f38470297397a50e6fe810ccd908dc19fb7 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Mon, 22 Oct 2012 09:56:33 -0400 Subject: 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 --- parabolaweb.service | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'parabolaweb.service') 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 -- cgit v1.2.3-54-g00ecf