Commit 3f9fc390 authored by Cédric Le Ninivin's avatar Cédric Le Ninivin

cli: no need to be root to launch supervisor

parent 251e0839
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
import os import os
from slapos.cli.command import must_be_root
from slapos.cli.config import ConfigCommand from slapos.cli.config import ConfigCommand
from slapos.grid.svcbackend import launchSupervisord from slapos.grid.svcbackend import launchSupervisord
...@@ -13,7 +12,6 @@ class SupervisordCommand(ConfigCommand): ...@@ -13,7 +12,6 @@ class SupervisordCommand(ConfigCommand):
""" """
command_group = 'node' command_group = 'node'
@must_be_root
def take_action(self, args): def take_action(self, args):
configp = self.fetch_config(args) configp = self.fetch_config(args)
instance_root = configp.get('slapos', 'instance_root') instance_root = configp.get('slapos', 'instance_root')
......
Markdown is supported
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