From: Peter Palfrader Date: Wed, 25 Jan 2017 10:37:36 +0000 (+0100) Subject: grep for ntpd X-Git-Url: https://git.adam-barratt.org.uk/?a=commitdiff_plain;h=ad27dcc94131404bd61c840b760b2f2b10b4104a;p=mirror%2Fdsa-puppet.git grep for ntpd --- diff --git a/modules/ntp/files/ntp-restart-if-required b/modules/ntp/files/ntp-restart-if-required index f8ea5cc78..f541c06a3 100755 --- a/modules/ntp/files/ntp-restart-if-required +++ b/modules/ntp/files/ntp-restart-if-required @@ -7,7 +7,7 @@ rc=$? case "$rc" in 1|2) - pid=$(pgrep -u ntp ntp) + pid=$(pgrep -u ntp ntpd) if [ -z "$pid" ]; then service ntp restart exit