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 | b27f7f38470297397a50e6fe810ccd908dc19fb7 (patch) | |
tree | 8015483e70242f15dc0c84c2d99d85bd85ab54d0 /parabolaweb-update | |
parent | f3e2ecc55ffd3c218515436843e4e6493825441f (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-update')
-rw-r--r-- | parabolaweb-update | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/parabolaweb-update b/parabolaweb-update index e4d65c2..b8ac5bf 100644 --- a/parabolaweb-update +++ b/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 |