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 00000000000..45e8b85b8d9 --- /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 +# $Id$ + +depend() { + need dbus +} + +start() { + ebegin "Starting system-tools-backend" + start-stop-daemon --start --exec /usr/sbin/system-tools-backends -- -D + eend $? +} + +stop() { + ebegin "Stopping system-tools-backend" + start-stop-daemon --stop --pidfile /var/run/system-tools-backends.pid + eend $? +} + |