mirror of
https://github.com/ansible/awx.git
synced 2026-01-11 10:00:01 -03:30
17 lines
322 B
Bash
Executable File
17 lines
322 B
Bash
Executable File
#!/bin/bash
|
|
|
|
SERVICES="ansible-tower.service supervisord.service"
|
|
|
|
case "$1" in
|
|
start|stop|restart)
|
|
systemctl $1 ansible-tower.service
|
|
;;
|
|
status)
|
|
systemctl status $SERVICES
|
|
;;
|
|
*)
|
|
echo "Usage: ansible-tower-service start|stop|restart|status"
|
|
exit 1
|
|
;;
|
|
esac
|