diff --git a/.githooks/post-receive b/.githooks/post-receive index f9fda83..032232a 100755 --- a/.githooks/post-receive +++ b/.githooks/post-receive @@ -1,7 +1,6 @@ #!/bin/sh cat > /dev/null BASE=/usr/home/sites; export BASE; APP=blogalba; export APP -START_OPTS="--workers 1"; export START_OPTS git --git-dir $BASE/$APP/.git --work-tree $BASE/$APP pull git --git-dir $BASE/$APP.mirror.git fetch git --git-dir $BASE/$APP.mirror.git push diff --git a/start b/start index eb7b3be..f1e578d 100755 --- a/start +++ b/start @@ -1,4 +1,8 @@ #!/bin/sh +#Application options +START_OPTS="--workers 1" + +#Standard startup script [ -z "$BASE$APP" ] && exit 1 #p5env setup PATH="$BASE/perl5/bin${PATH+:}${PATH}"; export PATH;