From 7a88bf24e860e4f1095fbf6da721e3c4f6ec265f Mon Sep 17 00:00:00 2001 From: Valentin Vidic Date: Fri, 22 Nov 2013 08:46:07 +0100 Subject: [PATCH] Install rsyslog instead of sysklogd. --- src/actions/main.queue | 1 + src/functions.sh | 6 ++++++ 2 files changed, 7 insertions(+) diff --git a/src/actions/main.queue b/src/actions/main.queue index c892246..ec7207c 100644 --- a/src/actions/main.queue +++ b/src/actions/main.queue @@ -26,6 +26,7 @@ pkg monit disable_monit true install_keyrings # install new keys # popravi konfiguracije koje stvaraju probleme true restore_configs +pkg sysklogd upgrade_syslog pkg munin-cn upgrade_munin # konacno, instalacija novih paketa pkg amavisd-new upgrade_amavis diff --git a/src/functions.sh b/src/functions.sh index 780c3b8..c075a88 100644 --- a/src/functions.sh +++ b/src/functions.sh @@ -1014,6 +1014,12 @@ get_variable () { echo $val } +# switch to rsyslog +upgrade_syslog() { + pkgadd rsyslog + dpkg -P sysklogd klogd +} + # restore munin configs for silent upgrade upgrade_munin () { local config backup hostname domain -- 1.7.10.4