[WIP] Add restart command to instance

This commit is contained in:
Vladimir Stoilov
2024-09-26 13:51:42 +03:00
parent c9631daa3e
commit 61babe2822
15 changed files with 81 additions and 98 deletions

View File

@@ -1,3 +1,8 @@
package service
type ServiceConfig struct{}
import "os/exec"
type ServiceConfig struct {
IsRunningAsService bool
DefaultRestartCommand *exec.Cmd
}