Rename ansible-tower file to automation-controller

This commit is contained in:
Yanis Guenane
2021-03-23 10:30:50 +01:00
parent 2594b90565
commit f89cf95c51
4 changed files with 20 additions and 20 deletions

View File

@@ -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

View File

@@ -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