summaryrefslogtreecommitdiff
path: root/libre/parabolaweb-utils/parabolaweb.rc
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
commit72780d31ec566cbd62df57a6ba4d8fc7bc90bf56 (patch)
tree6f07bf6a25cb8a5df26e8b9e524bddcae8f2d740 /libre/parabolaweb-utils/parabolaweb.rc
parent1ff7d1a6fa1690a352cafc517f6699d2897584f0 (diff)
downloadabslibre-72780d31ec566cbd62df57a6ba4d8fc7bc90bf56.tar.gz
abslibre-72780d31ec566cbd62df57a6ba4d8fc7bc90bf56.tar.bz2
abslibre-72780d31ec566cbd62df57a6ba4d8fc7bc90bf56.zip
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.rc')
-rw-r--r--libre/parabolaweb-utils/parabolaweb.rc1
1 files changed, 1 insertions, 0 deletions
diff --git a/libre/parabolaweb-utils/parabolaweb.rc b/libre/parabolaweb-utils/parabolaweb.rc
index 087a3fcb0..5e310b01d 100644
--- a/libre/parabolaweb-utils/parabolaweb.rc
+++ b/libre/parabolaweb-utils/parabolaweb.rc
@@ -8,6 +8,7 @@ PIDFILE=/run/web/parabolaweb.pid
case $1 in
start)
stat_busy "Starting ParabolaWeb"
+ install -dm777 ${PIDFILE%/*}
if parabolaweb-fcgi pidfile=${PIDFILE}; then
add_daemon parabolaweb
stat_done