Commit 16ff8483 authored by Georges Racinet's avatar Georges Racinet 🦑
Browse files

Heptapod: facility to restart the Rails application

parent 46a3c06e5739
......@@ -376,6 +376,13 @@ class DockerHeptapod(Heptapod):
def restart_rails(self):"Restarting the Rails application.")
app_services = ('unicorn', 'sidekiq')
for service in app_services:
self.run_shell(('gitlab-ctl', 'restart', service))
class SourceHeptapod(Heptapod):
"""An Heptapod server installed from source on the same system.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment