using START_OPTS as an env var was dumb

This commit is contained in:
Matthew Connelly 2015-11-16 00:54:21 +00:00
parent abdbdfdbf3
commit 11408b9858
2 changed files with 4 additions and 1 deletions

View File

@ -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

4
start
View File

@ -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;