diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-30 11:05:19 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-05-30 11:05:19 +0000 |
commit | 0ad18dd2ac14a8044f8b89c892855a354f5c4654 (patch) | |
tree | 1f2928f106084c589dedbec0d6c807508c2cb751 /testing/rsyslog/rsyslog.initd | |
parent | 1b0f9bbc83723e233e6065f12d2da4a21505f822 (diff) | |
download | aports-0ad18dd2ac14a8044f8b89c892855a354f5c4654.tar.bz2 aports-0ad18dd2ac14a8044f8b89c892855a354f5c4654.tar.xz |
main/rsyslog: moved from testing
ref #1179
Diffstat (limited to 'testing/rsyslog/rsyslog.initd')
-rw-r--r-- | testing/rsyslog/rsyslog.initd | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/testing/rsyslog/rsyslog.initd b/testing/rsyslog/rsyslog.initd deleted file mode 100644 index 9187fa573..000000000 --- a/testing/rsyslog/rsyslog.initd +++ /dev/null @@ -1,38 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2010 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-admin/rsyslog/files/5-stable/rsyslog.initd,v 1.1 2010/10/21 07:38:29 dev-zero Exp $ - -extra_started_commands="reload" - -depend() { - provide logger -} - -start() { - ebegin "Starting rsyslogd" - start-stop-daemon \ - --start --quiet --exec /usr/sbin/rsyslogd \ - -- ${RSYSLOG_OPTS} -i "${PIDFILE}" -f "${CONFIGFILE}" - eend $? -} - -stop() { - ebegin "Stopping rsyslogd" - start-stop-daemon \ - --stop --quiet \ - --pidfile "${PIDFILE}" - eend $? -} - -reload() { - if [ ! -f "${PIDFILE}" ]; then - eerror "rsyslogd not running" - return 1 - fi - - ebegin "Re-opening rsyslogd log files" - start-stop-daemon --stop --oknodo --signal HUP \ - --pidfile "${PIDFILE}" - eend $? -} |