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); }