Messages for kill_process_tree().
[nssm.git] / messages.mc
index 84dc287..0b49b3d 100644 (file)
@@ -83,7 +83,7 @@ MessageId = +1
 SymbolicName = NSSM_EVENT_TERMINATEPROCESS
 Severity = Informational
 Language = English
-Requested stop of service %1.  Killing program %2.
+Killing process %2 because service %1 is stopping.
 .
 
 MessageId = +1
@@ -147,3 +147,75 @@ Language = English
 Failed to write registry value %1:
 %2
 .
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_EXIT_UNCLEAN
+Severity = Informational
+Language = English
+Service %1 action for exit code %2 is %3.
+Exiting.
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_GRACEFUL_SUICIDE
+Severity = Informational
+Language = English
+Service %1 application %2 exited with exit code 0 but the default exit action is %3.
+Honouring the %4 action would result in the service being flagged as failed and subject to recovery actions.
+The service will instead be stopped gracefully.  To suppress this message, explicitly configure the exit action for exit code 0 to either %5 or %6.
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_EXPANDENVIRONMENTSTRINGS_FAILED
+Severity = Error
+Language = English
+Failed to expand registry value %1:
+%2
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_KILLING
+Severity = Informational
+Language = English
+kill_process_tree %1 %2 %3
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_CREATETOOLHELP32SNAPSHOT_FAILED
+Severity = Error
+Language = English
+Failed to create snapshot of running processes when terminating service %1:
+%2
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_PROCESS_ENUMERATE_FAILED
+Severity = Error
+Language = English
+Failed to enumerate running processes when terminating service %1:
+%2
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_OPENPROCESS_FAILED
+Severity = Error
+Language = English
+Failed to open process handle for process with PID %1 when terminating service %2:
+%3
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_KILL_PROCESS_TREE
+Severity = Informational
+Language = English
+Killing PID %1 in process tree of PID %2 because service %3 is stopping.
+.
+
+MessageId = +1
+SymbolicName = NSSM_EVENT_TERMINATEPROCESS_FAILED
+Severity = Error
+Language = English
+Failed to terminate process with PID %1 for service %2:
+%3
+.
+