background services in plan9
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
1.1 KiB

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"
)