Commit d3227afd6b4399a1435fd69bd18012f0acd72f4d
1 parent
14300a05
Exists in
master
and in
29 other branches
init script: use full binary path just to be sure
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
etc/init.d/noosfero
| @@ -45,7 +45,7 @@ if [ -z "$NOOSFERO_DIR" ] || [ -z "$NOOSFERO_USER" ]; then | @@ -45,7 +45,7 @@ if [ -z "$NOOSFERO_DIR" ] || [ -z "$NOOSFERO_USER" ]; then | ||
| 45 | fi | 45 | fi |
| 46 | 46 | ||
| 47 | if test -x /usr/sbin/noosfero-check-dbconfig ; then | 47 | if test -x /usr/sbin/noosfero-check-dbconfig ; then |
| 48 | - if ! noosfero-check-dbconfig; then | 48 | + if ! /usr/sbin/noosfero-check-dbconfig; then |
| 49 | echo "Noosfero database access not configured, service disabled." | 49 | echo "Noosfero database access not configured, service disabled." |
| 50 | exit 0 | 50 | exit 0 |
| 51 | fi | 51 | fi |