kardianos / service

Run go programs as a service on major platforms.
zlib License
4.45k stars 678 forks source link

Will the service main process be forcibly killed by the system when it changes? #383

Open shanjunmei opened 10 months ago

shanjunmei commented 10 months ago

When my program supports receiving signals to restart itself, but uses it to register as a system service, once the main process exits, its forked child process is also exited.