summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--service.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/service.c b/service.c
index 4aaad54..6718b06 100644
--- a/service.c
+++ b/service.c
@@ -270,6 +270,9 @@ void serviceSignal(struct Service *service, int signal) {
 }
 
 void serviceStop(struct Service *service) {
+	if (service->intent != Stop && service->state != Start) {
+		syslog(LOG_NOTICE, "%s[] stopped", service->name);
+	}
 	service->intent = Stop;
 	serviceSignal(service, SIGTERM);
 }