diff options
author | Andreas Unterkircher <unki@srv-vie-puppet.vie.mm-karton.com> | 2008-11-29 13:48:14 +0100 |
---|---|---|
committer | Andreas Unterkircher <unki@netshadow.net> | 2017-10-19 06:43:47 +0200 |
commit | 5c90002fd37829ba57490202b8c814bf0ead0fb2 (patch) | |
tree | 04adf3f502bc858bc5f718e16be171277b661f85 | |
parent | 9792e84cdf1cc2630695c6515dc95b8fd21522fa (diff) | |
download | exilog-5c90002fd37829ba57490202b8c814bf0ead0fb2.zip exilog-5c90002fd37829ba57490202b8c814bf0ead0fb2.tar.gz exilog-5c90002fd37829ba57490202b8c814bf0ead0fb2.tar.bz2 |
start exilog only, if exilog.conf is in place
Signed-off-by: Andreas Unterkircher <unki@srv-vie-puppet.vie.mm-karton.com>
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | debian/exilog.init | 5 |
2 files changed, 11 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog index 1423a36..e619652 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +exilog (0.5-4) etch; urgency=low + + * only start, if exilog.conf is in place + + -- Andreas Unterkircher <unki@mm-karton.com> Sat, 29 Nov 2008 13:47:22 +0100 + exilog (0.5-3) etch; urgency=low * add init.d script diff --git a/debian/exilog.init b/debian/exilog.init index 532dac0..6bb9e66 100644 --- a/debian/exilog.init +++ b/debian/exilog.init @@ -22,6 +22,11 @@ if [ -f /etc/default/exilog ] ; then . /etc/default/exilog fi +if [ ! -f /etc/exilog/exilog.conf ] ; then + echo "create exilog.conf first!" + exit 0 +fi + set -e case "$1" in |