From b8f96d303705c00282bae4bc96a2b8f6c520e0e2 Mon Sep 17 00:00:00 2001 From: James Laska Date: Wed, 12 Nov 2014 09:21:05 -0500 Subject: [PATCH] Use correct redis service name on Ubuntu Fixes ansible-tower service failure when [re]starting on Ubuntu systems. Trello: https://trello.com/c/YLZM5SUH --- tools/scripts/ansible-tower | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/tools/scripts/ansible-tower b/tools/scripts/ansible-tower index f39e466331..8b315428d0 100755 --- a/tools/scripts/ansible-tower +++ b/tools/scripts/ansible-tower @@ -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