diff options
author | 2000-12-10 04:21:36 +0000 | |
---|---|---|
committer | 2000-12-10 04:21:36 +0000 | |
commit | 489fbea981af9b9a2c62cea3d634f9f996e20235 (patch) | |
tree | fc342d82dfd0cc7e0dd48ae8fcaa84f5a3eecdf8 /sys-apps/gluelog/files | |
parent | openmotif in a new location (diff) | |
download | gentoo-2-489fbea981af9b9a2c62cea3d634f9f996e20235.tar.gz gentoo-2-489fbea981af9b9a2c62cea3d634f9f996e20235.tar.bz2 gentoo-2-489fbea981af9b9a2c62cea3d634f9f996e20235.zip |
new gluelog, openssh update
Diffstat (limited to 'sys-apps/gluelog/files')
-rwxr-xr-x | sys-apps/gluelog/files/klog-run | 2 | ||||
-rwxr-xr-x | sys-apps/gluelog/files/sysklogd | 37 | ||||
-rwxr-xr-x | sys-apps/gluelog/files/syslog-run | 2 |
3 files changed, 41 insertions, 0 deletions
diff --git a/sys-apps/gluelog/files/klog-run b/sys-apps/gluelog/files/klog-run new file mode 100755 index 000000000000..499183ce2f89 --- /dev/null +++ b/sys-apps/gluelog/files/klog-run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/sbin/glueklog /usr/bin/multilog t /var/log/klog.d diff --git a/sys-apps/gluelog/files/sysklogd b/sys-apps/gluelog/files/sysklogd new file mode 100755 index 000000000000..f69975f5d85b --- /dev/null +++ b/sys-apps/gluelog/files/sysklogd @@ -0,0 +1,37 @@ +#!/bin/sh +#RCUPDATE:1 2 3 4 5:20:This line is required for script management + +klog="/usr/sbin/klogd" +slog="/usr/sbin/syslogd" + +. /etc/rc.d/config/functions + +SERVICE=sysklogd +opts="start stop status" + +start() { + ebegin "Starting supervised syslog and klog" + local retval + local x + retval=0 + + for x in klog syslog + do + /usr/bin/svc -u /etc/svc.d/control/${x} + retval=$(( $? + $retval )) + done + eend $retval +} + +stop() { + ebegin "Stopping supervised syslog and klog" + /usr/bin/svc -d /etc/svc.d/control/klog /etc/svc.d/control/syslog + eend $? +} + +status() { + einfo "syslog and klog status:" + /usr/bin/svstat /etc/svc.d/control/klog /etc/svc.d/control/syslog +} + +doservice ${@} diff --git a/sys-apps/gluelog/files/syslog-run b/sys-apps/gluelog/files/syslog-run new file mode 100755 index 000000000000..fda7b3111c3d --- /dev/null +++ b/sys-apps/gluelog/files/syslog-run @@ -0,0 +1,2 @@ +#!/bin/sh +exec /usr/sbin/gluelog /usr/bin/multilog t /var/log/syslog.d |