diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-22 09:56:33 -0400 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-10-22 09:56:33 -0400 |
commit | 72780d31ec566cbd62df57a6ba4d8fc7bc90bf56 (patch) | |
tree | 6f07bf6a25cb8a5df26e8b9e524bddcae8f2d740 /libre/parabolaweb-utils/parabolaweb.service | |
parent | 1ff7d1a6fa1690a352cafc517f6699d2897584f0 (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 'libre/parabolaweb-utils/parabolaweb.service')
-rw-r--r-- | libre/parabolaweb-utils/parabolaweb.service | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb.service b/libre/parabolaweb-utils/parabolaweb.service index 4c3fb8c7f..a59d58512 100644 --- a/libre/parabolaweb-utils/parabolaweb.service +++ b/libre/parabolaweb-utils/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 |