services: Improve the mgen actor service.
Fix shutdown and add a validation command.
This commit is contained in:
parent
4957b73e44
commit
692afe7f81
1 changed files with 4 additions and 1 deletions
|
@ -587,8 +587,11 @@ class MgenActor(NrlService):
|
|||
_startindex = 50
|
||||
# list of startup commands, also may be generated during startup
|
||||
_startup = ("sh start_mgen_actor.sh", )
|
||||
# list of validation commands
|
||||
_validate = ("pidof mgen", )
|
||||
# list of shutdown commands
|
||||
_shutdown = ("killall mgen")
|
||||
_shutdown = ("killall mgen", )
|
||||
|
||||
@classmethod
|
||||
def generateconfig(cls, node, filename, services):
|
||||
''' Generate a startup script for MgenActor. Because mgenActor does not
|
||||
|
|
Loading…
Reference in a new issue