parent
0d74ae3368
commit
d36bea766d
1 changed files with 2 additions and 2 deletions
|
@ -1365,9 +1365,9 @@ class SunOSService(Service):
|
||||||
elif self.action == 'stop':
|
elif self.action == 'stop':
|
||||||
subcmd = "disable -st"
|
subcmd = "disable -st"
|
||||||
elif self.action == 'reload':
|
elif self.action == 'reload':
|
||||||
subcmd = "refresh"
|
subcmd = "refresh -s"
|
||||||
elif self.action == 'restart' and status == 'online':
|
elif self.action == 'restart' and status == 'online':
|
||||||
subcmd = "restart"
|
subcmd = "restart -s"
|
||||||
elif self.action == 'restart' and status != 'online':
|
elif self.action == 'restart' and status != 'online':
|
||||||
subcmd = "enable -rst"
|
subcmd = "enable -rst"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue