From 72780d31ec566cbd62df57a6ba4d8fc7bc90bf56 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 --- libre/parabolaweb-utils/parabolaweb-update | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'libre/parabolaweb-utils/parabolaweb-update') diff --git a/libre/parabolaweb-utils/parabolaweb-update b/libre/parabolaweb-utils/parabolaweb-update index e4d65c2d9..b8ac5bf5e 100644 --- a/libre/parabolaweb-utils/parabolaweb-update +++ b/libre/parabolaweb-utils/parabolaweb-update @@ -1,8 +1,11 @@ #!/bin/bash set -e -_install_dir=/srv/http -_gitname=web +. /etc/conf.d/parabolaweb + + +_install_dir=${WEBDIR%/*} +_gitname=${WEBDIR##*/} _gitroot=git://parabolagnulinux.org/parabolaweb.git _gitbranch=master -- cgit v1.2.3