Add signal log notice
Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
This commit is contained in:
parent
01e774c619
commit
2bec10927f
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user