mirror of
https://github.com/akyaiy/GoSally-mvp.git
synced 2026-01-07 05:52:26 +00:00
Enhance server update process with graceful shutdown; enable TLS in config and clean up temporary files during update
This commit is contained in:
@@ -39,7 +39,7 @@ func init() {
|
||||
output.Close()
|
||||
runArgs := os.Args
|
||||
runArgs[0] = runBinaryPath
|
||||
if err := syscall.Exec(runBinaryPath, runArgs, append(os.Environ(), "GS_RUNTIME_PATH=" + runPath)); err != nil {
|
||||
if err := syscall.Exec(runBinaryPath, runArgs, append(os.Environ(), "GS_RUNTIME_PATH="+runPath)); err != nil {
|
||||
log.Fatalf("Failed to init node: %s", err)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user