diff options
Diffstat (limited to 'main/smokeping/smokeping.initd')
-rw-r--r-- | main/smokeping/smokeping.initd | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/main/smokeping/smokeping.initd b/main/smokeping/smokeping.initd index e7b5106442..cbe2ed6dd0 100644 --- a/main/smokeping/smokeping.initd +++ b/main/smokeping/smokeping.initd @@ -20,11 +20,7 @@ checkconfig() { start() { checkconfig || return 1 - - if [ ! -d /var/run/smokeping/ ]; then - mkdir /var/run/smokeping/ - fi - chown smokeping:smokeping /var/run/smokeping/ + checkpath --directory --owner smokeping:smokeping /var/run/smokeping ebegin "Starting smokeping" LC_ALL=C \ |