Generating a Subsystem

Hello,

I'm trying to generate a subsystem which supports startsrc, stopsrc and refresh

I want to specify special arguments in case of stopsrc and refresh

for example:

startsrc:
/bin/testscript start
stopsrc:
/bin/testscript stop
refresh:
/bin/testscript restart

which should be simple, but I don't find a way to do this

mkssys -p /bin/testscript -s  test -u root -a start -G group1 -o /dev/null 

just works for starting the subsys

if I want to stop it, I need to specify a stop and a force signal, like 15 and 9, but then the subsystem is marked for signal communication and I can't define a refresh command

I don't know how to use message queues, perhaps someone can help me on this

thanks in advance

funksen