]> Zhao Yanbai Git Server - minix.git/commitdiff
start syslogd instead of usyslogd ; include syslog.conf
authorBen Gras <ben@minix3.org>
Mon, 3 Apr 2006 13:09:47 +0000 (13:09 +0000)
committerBen Gras <ben@minix3.org>
Mon, 3 Apr 2006 13:09:47 +0000 (13:09 +0000)
etc/Makefile
etc/syslog.conf [new file with mode: 0644]
etc/usr/rc

index 57832b8207072a286b15ba9e744e43e2743e6f1d..78794a184066f5de24e1fe37ac12f53cb21c3f73 100644 (file)
@@ -1,7 +1,7 @@
 
 ETC=/etc/
 USRETC=/usr/etc/
-FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue
+FILES1=fstab group hostname.file inet.conf motd mtab passwd profile protocols rc services termcap ttytab utmp rc.cd binary_sizes binary_sizes.big binary_sizes.xxl rc.rescue syslog.conf
 FILES2=shadow
 FILES3=daily dhcptags.conf rc
 
diff --git a/etc/syslog.conf b/etc/syslog.conf
new file mode 100644 (file)
index 0000000..b48cddc
--- /dev/null
@@ -0,0 +1,21 @@
+##
+##  @(#)syslog.conf    1.0     Jan. 18, 2000
+##
+##  Use kill -HUP `cat /usr/run/syslogd.pid` to restart
+##  the server, forcing it to reread this file.
+
+##  Emergency messages (system may be unusable)
+*.emerg                                        *
+*.alert                                        /dev/log
+
+##  High severity errors
+*.alert;*.crit                         /var/log/syslog
+
+##  Every other message (errors/warning and informational)
+*.info;*.notice;*.warning;*.err                /var/log/messages
+
+##  Debug informations (tracing programs)
+*.debug                                        /var/log/debug
+
+##  $Id$
+##  end syslog.conf
index 0c6c984bb47ae9309913553142a9e2790748ff3f..4189b6bf892628af5e0ddf83ab00e863d0173aae 100644 (file)
@@ -106,8 +106,7 @@ start)
 
     echo -n "Starting daemons:"
     daemonize update
-    rotate /usr/log/messages 7
-    daemonize usyslogd
+    daemonize syslogd
 
     # Ugly error message when starting cron from CD.
     # (and cron unnecessary then so..)