Add signal log notice

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
Georg Pfuetzenreuter 2022-04-22 03:03:08 +00:00
parent 01e774c619
commit 2bec10927f
Signed by: Georg
GPG Key ID: 1ED2F138E7E6FF57

View File

@ -274,6 +274,7 @@ void serviceStart(struct Service *service) {
}
void serviceSignal(struct Service *service, int signal) {
syslog(LOG_NOTICE, "%s[%d] sending signal %d", service->name, service->pid, signal);
if (service->state != Start) return;
int error = killpg(service->pid, signal);
if (error) {