diff options
Diffstat (limited to 'openntpd-model.lua')
-rw-r--r-- | openntpd-model.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/openntpd-model.lua b/openntpd-model.lua index 2466769..d2c726c 100644 --- a/openntpd-model.lua +++ b/openntpd-model.lua @@ -11,6 +11,7 @@ require("daemoncontrol") local configfile = "/etc/ntpd.conf" local confdfile = "/etc/conf.d/ntpd" local processname = "openntpd" +local processname_short = "ntpd" -- ################################################################################ -- LOCAL FUNCTIONS @@ -214,7 +215,7 @@ function getstatus () status.status = cfe({ name="status", label="Program status", - value=procps.pidof(processname), + value=procps.pidof(processname_short), }) status.date = config.date |