diff --git a/basic/usr/local/bin/spotter-appmgr b/basic/usr/local/bin/spotter-appmgr index bdd14be..165c6aa 100755 --- a/basic/usr/local/bin/spotter-appmgr +++ b/basic/usr/local/bin/spotter-appmgr @@ -119,6 +119,7 @@ class SpotterManager: if os.path.exists(script_path) and os.access(script_path, os.X_OK): host = '{}.{}'.format(app, self.domain) subprocess.call([script_path, host, self.port]) + subprocess.call(['service', app, 'restart']) def update_proxy(self, app): self.add_app_to_nginx(app)