Make spotter-appmgr restart service after update-url.sh
This commit is contained in:
parent
dd2a936cc7
commit
41ae6eedb3
@ -119,6 +119,7 @@ class SpotterManager:
|
|||||||
if os.path.exists(script_path) and os.access(script_path, os.X_OK):
|
if os.path.exists(script_path) and os.access(script_path, os.X_OK):
|
||||||
host = '{}.{}'.format(app, self.domain)
|
host = '{}.{}'.format(app, self.domain)
|
||||||
subprocess.call([script_path, host, self.port])
|
subprocess.call([script_path, host, self.port])
|
||||||
|
subprocess.call(['service', app, 'restart'])
|
||||||
|
|
||||||
def update_proxy(self, app):
|
def update_proxy(self, app):
|
||||||
self.add_app_to_nginx(app)
|
self.add_app_to_nginx(app)
|
||||||
|
Loading…
Reference in New Issue
Block a user