diff --git a/app/options.py b/app/options.py index ff050fac..30b9b4ac 100644 --- a/app/options.py +++ b/app/options.py @@ -501,7 +501,7 @@ if form.getvalue('action_service') is not None: print('warning: The service is disabled because you are not subscribed. Read here about subscriptions') sys.exit() if is_in_docker: - cmd = "supervisorctl " + action + " " + serv + cmd = "sudo supervisorctl " + action + " " + serv output, stderr = funct.subprocess_execute(cmd) funct.logging('localhost', ' The service ' + serv + ' has been ' + action + 'ed', haproxywi=1, login=1)