log as supervise-daemon not the service
This commit is contained in:
parent
f32d8e1bfe
commit
27b8183de2
@ -561,7 +561,7 @@ int main(int argc, char **argv)
|
|||||||
applet = basename_c(argv[0]);
|
applet = basename_c(argv[0]);
|
||||||
atexit(cleanup);
|
atexit(cleanup);
|
||||||
svcname = getenv("RC_SVCNAME");
|
svcname = getenv("RC_SVCNAME");
|
||||||
openlog(svcname, LOG_PID, LOG_DAEMON);
|
openlog(applet, LOG_PID, LOG_DAEMON);
|
||||||
|
|
||||||
if ((tmp = getenv("SSD_NICELEVEL")))
|
if ((tmp = getenv("SSD_NICELEVEL")))
|
||||||
if (sscanf(tmp, "%d", &nicelevel) != 1)
|
if (sscanf(tmp, "%d", &nicelevel) != 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user