Install rsyslog instead of sysklogd.
authorValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 22 Nov 2013 07:46:07 +0000 (08:46 +0100)
committerValentin Vidic <Valentin.Vidic@CARNet.hr>
Fri, 22 Nov 2013 08:01:47 +0000 (09:01 +0100)
src/actions/main.queue
src/functions.sh

index c892246..ec7207c 100644 (file)
@@ -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
index 780c3b8..c075a88 100644 (file)
@@ -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