diff --git a/src/pmdas/systemd/Install b/src/pmdas/systemd/Install index 8589a38..fb7fafe 100755 --- a/src/pmdas/systemd/Install +++ b/src/pmdas/systemd/Install @@ -25,6 +25,7 @@ pmda_interface=5 dso_opt=true pipe_opt=true daemon_opt=true +forced_restart=false pmdaSetup pmdaInstall diff --git a/src/pmdas/systemd/systemd.c b/src/pmdas/systemd/systemd.c index 52232d3..ec5b496 100644 --- a/src/pmdas/systemd/systemd.c +++ b/src/pmdas/systemd/systemd.c @@ -381,9 +381,10 @@ systemd_init(pmdaInterface *dp) snprintf(helppath, sizeof(helppath), "%s%c" "systemd" "%c" "help", pmGetConfig("PCP_PMDAS_DIR"), sep, sep); pmdaDSO(dp, PMDA_INTERFACE_5, "systemd DSO", helppath); + } else { + __pmSetProcessIdentity("pcp"); } - dp->version.four.fetch = systemd_fetch; dp->version.four.store = systemd_store; dp->version.four.profile = systemd_profile;