mirror of
https://github.com/ansible/awx.git
synced 2026-01-15 20:00:43 -03: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:
parent
bb2235fcb2
commit
b8f96d3037
@ -9,16 +9,16 @@
|
||||
# Required-Start: $local_fs $remote_fs $network $named
|
||||
# Required-Stop: $local_fs $remote_fs $network
|
||||
# Should-Start: distcache
|
||||
# Should-Stop:
|
||||
# Default-Start:
|
||||
# Default-Stop:
|
||||
# Should-Stop:
|
||||
# Default-Start:
|
||||
# Default-Stop:
|
||||
# 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
|
||||
### END INIT INFO
|
||||
|
||||
if [ -e /etc/debian_version ]
|
||||
then
|
||||
SERVICES=(postgresql redis apache2 supervisor)
|
||||
then
|
||||
SERVICES=(postgresql redis-server apache2 supervisor)
|
||||
else
|
||||
SERVICES=(postgresql redis httpd supervisord)
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user