Reload SMF servive with changes of pid
Hello.
I have a haproxy service witch controls by SMF. When i need to soft reload i must to use flag '-sf' (which describes below), but new pid changes and SMF thinks that service has gone and try to start new copy, but socket already is bind. Then SMF service goes to maintenance. So, does any method to clear reload? restart/exec doesn't help in this case.
-sf <pidlist> Send FINISH signal to the pids in pidlist after startup. The processes which receive this signal will wait for all sessions to finish before exiting. This option must be specified last, followed by any number of PIDs. Technically speaking, SIGTTOU and SIGUSR1 are sent.