diff options
Diffstat (limited to 'sys-apps/preload/files/init.d-preload')
-rw-r--r-- | sys-apps/preload/files/init.d-preload | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/sys-apps/preload/files/init.d-preload b/sys-apps/preload/files/init.d-preload deleted file mode 100644 index 33890ae87cf8..000000000000 --- a/sys-apps/preload/files/init.d-preload +++ /dev/null @@ -1,29 +0,0 @@ -#!/sbin/runscript -# Copyright 1999-2008 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-apps/preload/files/init.d-preload,v 1.6 2008/10/28 13:04:57 darkside Exp $ - -depend() { - after localmount xdm -} - -start() { - ebegin "Starting preload" - start-stop-daemon --start --quiet --background \ - --make-pidfile --pidfile ${PIDFILE} --exec /usr/sbin/preload -- \ - -l ${PRELOAD_LOGFILE:-/var/log/preload.log} -V ${PRELOAD_VERBOSITY:-4} \ - -n ${PRELOAD_NICE:-15} -s ${PRELOAD_STATEFILE:-""} -f - - IONICE="$(command -v ionice)" - if [ -x "${IONICE}" -a -n "${IONICE_OPTS}" ]; then - einfo "ionicing preload" - "${IONICE}" "${IONICE_OPTS}" -p $(cat ${PIDFILE}) - fi - eend $? -} - -stop() { - ebegin "Stopping preload (may take awhile)" - start-stop-daemon --stop --retry 120 --quiet --pidfile ${PIDFILE} - eend $? -} |