Restart script does a kill -HUP <pid of the process running> Thanks Srinivas Stephen Hahn wrote:
>* Srinivas Krishnan <Srinivas.Krishnan at Sun.COM> [2007-06-13 05:51]: > > >>For my service, if i want to change the restarter (which defaults to >>svc:system/svc/restarter:default) how this needs to be done. In >>webserver, when svcadm restart <svc_name> is called, by default it is >>calls the stop method and calls start method. But instead of this, i >>want to call my own restart script. How this can be done. >> >> > > Could you describe what your restart script does, as opposed to what > you do on start and stop? > > - Stephen > > >