- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for restartProcess (0.2 sec)
-
cmd/service.go
// restartProcess starts a new process passing it the active fd's. It // doesn't fork, but starts a new process using the same environment and // arguments as when it was originally started. This allows for a newly // deployed binary to be started. It returns the pid of the newly started // process when successful. func restartProcess() error { if runtime.GOOS == globalWindowsOSName {
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Wed Feb 28 07:02:14 GMT 2024 - 3.8K bytes - Viewed (0) -
cmd/signals.go
switch signal { case serviceRestart: logger.Info("Restarting on service signal") daemon.SdNotify(false, daemon.SdNotifyReloading) stop := stopProcess() rerr := restartProcess() if rerr == nil { daemon.SdNotify(false, daemon.SdNotifyReady) } logger.LogIf(context.Background(), rerr) exit(stop && rerr == nil) case serviceStop:
Go - Registered: Sun Mar 24 19:28:08 GMT 2024 - Last Modified: Wed Jul 12 14:18:30 GMT 2023 - 2.7K bytes - Viewed (0)