services: Improve the mgen actor service.

Fix shutdown and add a validation command.
This commit is contained in:
tgoff0 2015-04-10 00:55:15 +00:00
parent 4957b73e44
commit 692afe7f81

View file

@ -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