fix config file variable in init script
This commit is contained in:
parent
a5ec7e3918
commit
9843c92e35
@ -32,7 +32,7 @@ start() {
|
|||||||
[ -x $nginx ] || exit 5
|
[ -x $nginx ] || exit 5
|
||||||
[ -f $config ] || exit 6
|
[ -f $config ] || exit 6
|
||||||
echo -n $"Starting $prog: "
|
echo -n $"Starting $prog: "
|
||||||
daemon $nginx -c $config
|
daemon $nginx -c $NGINX_CONF_FILE
|
||||||
retval=$?
|
retval=$?
|
||||||
echo
|
echo
|
||||||
[ $retval -eq 0 ] && touch $lockfile
|
[ $retval -eq 0 ] && touch $lockfile
|
||||||
|
Loading…
Reference in New Issue
Block a user