mirror of
https://github.com/ansible/awx.git
synced 2026-05-09 10:27:37 -02:30
Remove uses_mongo redirection from service script
This commit is contained in:
@@ -15,7 +15,7 @@ service_action() {
|
|||||||
|
|
||||||
# Should MongoDB be managed by this script?
|
# Should MongoDB be managed by this script?
|
||||||
# We only manage MongoDB if the license uses it.
|
# We only manage MongoDB if the license uses it.
|
||||||
tower-manage uses_mongo > /dev/null 2> /dev/null
|
tower-manage uses_mongo
|
||||||
if [ $? == 0 && ${1} == start ]; then
|
if [ $? == 0 && ${1} == start ]; then
|
||||||
SERVICES="$SERVICES mongod"
|
SERVICES="$SERVICES mongod"
|
||||||
elif [ $? == 0 && ${1} == stop ]; then
|
elif [ $? == 0 && ${1} == stop ]; then
|
||||||
|
|||||||
Reference in New Issue
Block a user