From 5a01ccc244ffa6ceb168f0dec353e168e8e85c76 Mon Sep 17 00:00:00 2001 From: Stefan Fiedler Date: Tue, 11 Apr 2006 15:24:57 +0000 Subject: [PATCH] Stefan Fiedler: fam, smartmontools: install init scripts under different name (so they don't kill themselves on service stop) smartmontools: fix typos in init script [2006040417032716451] (https://www.rocklinux.net/submaster) git-svn-id: http://www.rocklinux.org/svn/rock-linux/trunk@7490 c5f82cb5-29bc-0310-9cd0-bff59a50e3bc --- package/base/fam/fam.conf | 2 +- package/base/smartmontools/smartd.init | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/package/base/fam/fam.conf b/package/base/fam/fam.conf index 0399f07a6..f703bf383 100644 --- a/package/base/fam/fam.conf +++ b/package/base/fam/fam.conf @@ -1 +1 @@ -hook_add postmake 3 "install_init famd $confdir/famd.init" +hook_add postmake 3 "install_init famdaemon $confdir/famd.init" diff --git a/package/base/smartmontools/smartd.init b/package/base/smartmontools/smartd.init index 1ee33e71a..8cbe18866 100644 --- a/package/base/smartmontools/smartd.init +++ b/package/base/smartmontools/smartd.init @@ -32,12 +32,12 @@ main_begin check(`D_prefix/sbin/smartd') block_end - block_begin(stop, `Stopping courier-imapd.') - check(`kill -SIGKILL smartd') + block_begin(stop, `Stopping smartd.') + check(`killall -SIGKILL smartd') block_end - block_begin(restart, `Restarting courier-imapd.') - check(`sigkill -SIGKILL smartd') + block_begin(restart, `Restarting smartd.') + check(`killall -SIGKILL smartd') check(`D_prefix/sbin/smartd') block_end