log as supervise-daemon not the service

This commit is contained in:
William Hubbs 2017-10-27 15:32:26 -05:00
parent f32d8e1bfe
commit 27b8183de2

View File

@ -561,7 +561,7 @@ int main(int argc, char **argv)
applet = basename_c(argv[0]);
atexit(cleanup);
svcname = getenv("RC_SVCNAME");
openlog(svcname, LOG_PID, LOG_DAEMON);
openlog(applet, LOG_PID, LOG_DAEMON);
if ((tmp = getenv("SSD_NICELEVEL")))
if (sscanf(tmp, "%d", &nicelevel) != 1)