diff options
Diffstat (limited to 'app-admin/system-tools-backends/files/stb.rc')
-rw-r--r-- | app-admin/system-tools-backends/files/stb.rc | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/app-admin/system-tools-backends/files/stb.rc b/app-admin/system-tools-backends/files/stb.rc new file mode 100644 index 000000000000..145f03bdd633 --- /dev/null +++ b/app-admin/system-tools-backends/files/stb.rc @@ -0,0 +1,21 @@ +#!/sbin/runscript +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-admin/system-tools-backends/files/stb.rc,v 1.1 2008/01/24 22:41:27 eva Exp $ + +depend() { + need dbus +} + +start() { + ebegin "Starting system-tools-backend" + start-stop-daemon --start --exec /usr/bin/system-tools-backends -- + eend $? +} + +stop() { + ebegin "Stopping system-tools-backend" + start-stop-daemon --stop --pidfile /var/run/system-tools-backends.pid + eend $? +} + |