diff options
author | William Hubbs <w.d.hubbs@gmail.com> | 2017-10-27 15:32:26 -0500 |
---|---|---|
committer | William Hubbs <w.d.hubbs@gmail.com> | 2017-10-27 15:33:47 -0500 |
commit | 27b8183de2f2bfd7411c14c1ec28543ca8a36602 (patch) | |
tree | 85ff293e8904a7a12cc77f1a9ff98ef464836dc6 | |
parent | f32d8e1bfe16caf233d1180921f4aeed77d7476d (diff) |
log as supervise-daemon not the service
-rw-r--r-- | src/rc/supervise-daemon.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rc/supervise-daemon.c b/src/rc/supervise-daemon.c index 3c3d7c7e..bf27ad18 100644 --- a/src/rc/supervise-daemon.c +++ b/src/rc/supervise-daemon.c @@ -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) |