From 3ce4a6937fcb00ba62fddb01cfbb907707f5df6d Mon Sep 17 00:00:00 2001 From: John Lee Date: Wed, 23 Apr 2008 12:11:16 +0000 Subject: exalt: Exalt is a network manager for the windows manager Enlightenment DR17. * updated sane-srcrevs as well. --- packages/exalt/exalt-daemon/.mtn2git_empty | 0 packages/exalt/exalt-daemon/init | 37 ++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 packages/exalt/exalt-daemon/.mtn2git_empty create mode 100644 packages/exalt/exalt-daemon/init (limited to 'packages/exalt/exalt-daemon') diff --git a/packages/exalt/exalt-daemon/.mtn2git_empty b/packages/exalt/exalt-daemon/.mtn2git_empty new file mode 100644 index 0000000000..e69de29bb2 diff --git a/packages/exalt/exalt-daemon/init b/packages/exalt/exalt-daemon/init new file mode 100644 index 0000000000..cbceed1793 --- /dev/null +++ b/packages/exalt/exalt-daemon/init @@ -0,0 +1,37 @@ +#!/bin/sh +set -e + +#need dbus and hald + +start() { + echo -n "Starting Exalt daemon..." + start-stop-daemon --start --exec /usr/sbin/exalt-daemon \ + --pidfile /var/run/exaltd.pid + echo "done." +} + +stop() { + echo -n "Stopping Exalt daemon..." + start-stop-daemon --stop --exec /usr/sbin/exalt-daemon \ + --pidfile /var/run/exaltd.pid + echo "done." +} + +case "$1" in + start) + start + ;; + stop) + stop + ;; + restart) + stop + sleep 2 + start + ;; + *) + echo "Usage: $(basename $0) {start|stop|restart}" + exit 1 +esac + +exit 0 -- cgit v1.2.3