diff options
-rw-r--r-- | MANIFEST.in | 2 | ||||
-rwxr-xr-x | setup.py | 2 | ||||
-rwxr-xr-x | tools/scripts/ansible-tower-service | 18 | ||||
-rwxr-xr-x | tools/scripts/automation-controller-service | 18 |
4 files changed, 20 insertions, 20 deletions
diff --git a/MANIFEST.in b/MANIFEST.in index 1466361602..72c0f4de21 100644 --- a/MANIFEST.in +++ b/MANIFEST.in @@ -20,7 +20,7 @@ recursive-exclude awx/ui/client * recursive-exclude awx/settings local_settings.py* include tools/scripts/request_tower_configuration.sh include tools/scripts/request_tower_configuration.ps1 -include tools/scripts/ansible-tower-service +include tools/scripts/automation-controller-service include tools/scripts/failure-event-handler include tools/scripts/awx-python include awx/playbooks/library/mkfifo.py @@ -141,7 +141,7 @@ setup( # ("%s" % webconfig, ["config/uwsgi_params"]), ("%s" % sharedir, ["tools/scripts/request_tower_configuration.sh","tools/scripts/request_tower_configuration.ps1"]), ("%s" % docdir, ["docs/licenses/*",]), - ("%s" % bindir, ["tools/scripts/ansible-tower-service", + ("%s" % bindir, ["tools/scripts/automation-controller-service", "tools/scripts/failure-event-handler", "tools/scripts/awx-python", "tools/scripts/ansible-tower-setup"]), diff --git a/tools/scripts/ansible-tower-service b/tools/scripts/ansible-tower-service deleted file mode 100755 index 68ff85463d..0000000000 --- a/tools/scripts/ansible-tower-service +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -if [ -f /etc/sysconfig/ansible-tower ]; then - source /etc/sysconfig/ansible-tower -fi - -case "$1" in - start|stop|restart) - exec systemctl $1 ansible-tower.service - ;; - status) - exec systemctl status ansible-tower.service $TOWER_SERVICES - ;; - *) - echo "Usage: ansible-tower-service start|stop|restart|status" - exit 1 - ;; -esac diff --git a/tools/scripts/automation-controller-service b/tools/scripts/automation-controller-service new file mode 100755 index 0000000000..097879a9f0 --- /dev/null +++ b/tools/scripts/automation-controller-service @@ -0,0 +1,18 @@ +#!/bin/bash + +if [ -f /etc/sysconfig/automation-controller ]; then + source /etc/sysconfig/automation-controller +fi + +case "$1" in + start|stop|restart) + exec systemctl $1 automation-controller.service + ;; + status) + exec systemctl status automation-controller.service $TOWER_SERVICES + ;; + *) + echo "Usage: automation-controller-service start|stop|restart|status" + exit 1 + ;; +esac |