mirror of
https://github.com/ansible/awx.git
synced 2026-03-13 15:09:32 -02:30
Use correct redis service name on Ubuntu
Fixes ansible-tower service failure when [re]starting on Ubuntu systems. Trello: https://trello.com/c/YLZM5SUH
This commit is contained in:
@@ -9,16 +9,16 @@
|
|||||||
# Required-Start: $local_fs $remote_fs $network $named
|
# Required-Start: $local_fs $remote_fs $network $named
|
||||||
# Required-Stop: $local_fs $remote_fs $network
|
# Required-Stop: $local_fs $remote_fs $network
|
||||||
# Should-Start: distcache
|
# Should-Start: distcache
|
||||||
# Should-Stop:
|
# Should-Stop:
|
||||||
# Default-Start:
|
# Default-Start:
|
||||||
# Default-Stop:
|
# Default-Stop:
|
||||||
# Short-Description: support init to manage tower and its related services
|
# Short-Description: support init to manage tower and its related services
|
||||||
# Description: Ansible Tower provides an easy-to-use UI and dashboard, role-based access control and more for your Ansible initiative
|
# Description: Ansible Tower provides an easy-to-use UI and dashboard, role-based access control and more for your Ansible initiative
|
||||||
### END INIT INFO
|
### END INIT INFO
|
||||||
|
|
||||||
if [ -e /etc/debian_version ]
|
if [ -e /etc/debian_version ]
|
||||||
then
|
then
|
||||||
SERVICES=(postgresql redis apache2 supervisor)
|
SERVICES=(postgresql redis-server apache2 supervisor)
|
||||||
else
|
else
|
||||||
SERVICES=(postgresql redis httpd supervisord)
|
SERVICES=(postgresql redis httpd supervisord)
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user