headless9/strings.go
2022-10-23 01:48:05 -04:00

20 lines
1.1 KiB
Go

package main
var (
DAEMON_START = "Starting headless9"
CMD_SYNTAX = "Command structure: \"headless9 $verb $service\""
CTL_UNABLE_WRITE = "Unable to write to Control Socket. Please check the file %+v exists and that its permissions are 660"
CTL_NOT_OPEN = "Unable to open Control Socket. Please check the file %+v and that its permissions are 660"
CTL_NOT_CLEAR = "Unable to clear Control Socket. Please check the file %+v and that its permissions are 660"
CTL_NOT_REWOUND = "Unable to rewind Control Socket. Please check the file %+v and that its permissions are 660"
DAEMON_FILE_REFRESH = "Refreshing controlFile %+v"
DAEMON_SVC_INVALID = "Invalid command `%v`, skipping. Args: { %+v }"
DAEMON_SVC_DISABLED = "%+v is disabled, skipping!"
DAEMON_SVC_EXISTS = "%+v exists as PID %+v"
DAEMON_SVC_FAIL = "Error starting service %+v, see log for more info."
DAEMON_SVC_MISSING = "Svc not detected, starting: %+v"
DAEMON_CTL_PROCESSING = "Processing command: `%+v`"
DAEMON_CTL_PROCESSED = "Processed command `%+v` in %+v"
DAEMON_CTL_FAILED = "Processing command `%+v` failed after %+v"
)