Clément,

thanks for your quick reply.
I had already seen that, but it seems obsolete and I think that reworking on it and checking it works fine is a long job: the script is more than 1200 lines, while all other scripts on my linux servers are at most 500 lines long.
I realize that it accepts 15 different commands, but I need much less, just the basic (i.e. start, stop, restart, status)

Bye,
Francesco