Update stop for servers to use configuration

This commit is contained in:
Dane Everitt
2019-09-22 21:22:16 -07:00
parent d7753d9c7f
commit 00bc71afd1
3 changed files with 29 additions and 6 deletions

View File

@@ -8,10 +8,16 @@ import (
"go.uber.org/zap"
)
const (
ProcessStopCommand = "command"
ProcessStopSignal = "signal"
ProcessStopNativeStop = "stop"
)
// Defines a single find/replace instance for a given server configuration file.
type ConfigurationFileReplacement struct {
Match string `json:"match"`
Value string `json:"value"`
Match string `json:"match"`
Value string `json:"value"`
ValueType jsonparser.ValueType `json:"-"`
}