summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugeny 'Punkoff' Pankov <john.pankov@gmail.com>2011-11-04 12:25:51 +0000
committerEugeny 'Punkoff' Pankov <john.pankov@gmail.com>2011-11-04 12:25:51 +0000
commit9c342a71fcd9a89c15b5e01fbff1eb49130cba80 (patch)
tree181d3a26f19e164f52f24eb2908b394cd4b0d0ab /app-admin/ajenti/files/ajenti
parentmedia-sound/mixxx: Version bump for 1.9.2 (diff)
downloadsunrise-9c342a71fcd9a89c15b5e01fbff1eb49130cba80.tar.gz
sunrise-9c342a71fcd9a89c15b5e01fbff1eb49130cba80.tar.bz2
sunrise-9c342a71fcd9a89c15b5e01fbff1eb49130cba80.zip
app-admin/ajenti: Version bump for ajenti
svn path=/sunrise/; revision=12501
Diffstat (limited to 'app-admin/ajenti/files/ajenti')
-rw-r--r--app-admin/ajenti/files/ajenti19
1 files changed, 19 insertions, 0 deletions
diff --git a/app-admin/ajenti/files/ajenti b/app-admin/ajenti/files/ajenti
new file mode 100644
index 000000000..add7505a0
--- /dev/null
+++ b/app-admin/ajenti/files/ajenti
@@ -0,0 +1,19 @@
+#!/sbin/runscript
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+depend() {
+ use net
+}
+
+start() {
+ ebegin "Starting Ajenti"
+ start-stop-daemon --start --exec /usr/bin/ajenti-panel --pidfile /var/run/ajenti.pid -- --start
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping Ajenti"
+ start-stop-daemon --stop --exec /usr/bin/ajenti-panel --pidfile /var/run/ajenti.pid
+ eend $?
+}