summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/edna/files/edna.gentoo')
-rw-r--r--media-sound/edna/files/edna.gentoo25
1 files changed, 25 insertions, 0 deletions
diff --git a/media-sound/edna/files/edna.gentoo b/media-sound/edna/files/edna.gentoo
new file mode 100644
index 000000000000..9199e00764b8
--- /dev/null
+++ b/media-sound/edna/files/edna.gentoo
@@ -0,0 +1,25 @@
+#!/sbin/runscript
+#
+# Startup script for the edna mp3 mini server
+#
+# description: edna is a mini mp3 webserver
+# processname: python
+# pidfile: /var/run/ednad.pid
+# config:
+
+depend() {
+ need local
+}
+
+start() {
+ ebegin "Starting ednad mp3 server"
+ start-stop-daemon -b -m --quiet --start --exec /usr/bin/ednad \
+ --pidfile /var/run/ednad.pid
+ eend $?
+}
+
+stop() {
+ ebegin "Stopping ednad"
+ start-stop-daemon -o --quiet --stop --pidfile /var/run/ednad.pid
+ eend $?
+}