using START_OPTS as an env var was dumb
This commit is contained in:
parent
abdbdfdbf3
commit
11408b9858
|
@ -1,7 +1,6 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
cat > /dev/null
|
cat > /dev/null
|
||||||
BASE=/usr/home/sites; export BASE; APP=blogalba; export APP
|
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/.git --work-tree $BASE/$APP pull
|
||||||
git --git-dir $BASE/$APP.mirror.git fetch
|
git --git-dir $BASE/$APP.mirror.git fetch
|
||||||
git --git-dir $BASE/$APP.mirror.git push
|
git --git-dir $BASE/$APP.mirror.git push
|
||||||
|
|
4
start
4
start
|
@ -1,4 +1,8 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
#Application options
|
||||||
|
START_OPTS="--workers 1"
|
||||||
|
|
||||||
|
#Standard startup script
|
||||||
[ -z "$BASE$APP" ] && exit 1
|
[ -z "$BASE$APP" ] && exit 1
|
||||||
#p5env setup
|
#p5env setup
|
||||||
PATH="$BASE/perl5/bin${PATH+:}${PATH}"; export PATH;
|
PATH="$BASE/perl5/bin${PATH+:}${PATH}"; export PATH;
|
||||||
|
|
Loading…
Reference in New Issue