diff options
author | Steve Arnold <nerdboy@gentoo.org> | 2003-12-15 01:43:42 +0000 |
---|---|---|
committer | Steve Arnold <nerdboy@gentoo.org> | 2003-12-15 01:43:42 +0000 |
commit | 1f0280eed1a2ad865d59a04afca6ad37723f6dc6 (patch) | |
tree | 3abba1cb46e404f63012a740a9bd677a33ca92e0 /media-sound/edna/files | |
parent | fixed init and env stuff and removed previous ebuilds (diff) | |
download | gentoo-2-1f0280eed1a2ad865d59a04afca6ad37723f6dc6.tar.gz gentoo-2-1f0280eed1a2ad865d59a04afca6ad37723f6dc6.tar.bz2 gentoo-2-1f0280eed1a2ad865d59a04afca6ad37723f6dc6.zip |
fixed init and env stuff and removed previous ebuilds
Diffstat (limited to 'media-sound/edna/files')
-rw-r--r-- | media-sound/edna/files/digest-edna-0.5-r1 | 1 | ||||
-rw-r--r-- | media-sound/edna/files/digest-edna-0.5-r2 | 1 | ||||
-rw-r--r-- | media-sound/edna/files/digest-edna-0.5-r3 (renamed from media-sound/edna/files/digest-edna-0.5) | 0 | ||||
-rw-r--r-- | media-sound/edna/files/edna.gentoo | 13 |
4 files changed, 9 insertions, 6 deletions
diff --git a/media-sound/edna/files/digest-edna-0.5-r1 b/media-sound/edna/files/digest-edna-0.5-r1 deleted file mode 100644 index 98bcede95ebc..000000000000 --- a/media-sound/edna/files/digest-edna-0.5-r1 +++ /dev/null @@ -1 +0,0 @@ -MD5 ec3d46b25fa582b78db7c32acf78da47 edna-0.5.tar.gz 85785 diff --git a/media-sound/edna/files/digest-edna-0.5-r2 b/media-sound/edna/files/digest-edna-0.5-r2 deleted file mode 100644 index 98bcede95ebc..000000000000 --- a/media-sound/edna/files/digest-edna-0.5-r2 +++ /dev/null @@ -1 +0,0 @@ -MD5 ec3d46b25fa582b78db7c32acf78da47 edna-0.5.tar.gz 85785 diff --git a/media-sound/edna/files/digest-edna-0.5 b/media-sound/edna/files/digest-edna-0.5-r3 index 98bcede95ebc..98bcede95ebc 100644 --- a/media-sound/edna/files/digest-edna-0.5 +++ b/media-sound/edna/files/digest-edna-0.5-r3 diff --git a/media-sound/edna/files/edna.gentoo b/media-sound/edna/files/edna.gentoo index 72fc09b54945..cf46fc45398f 100644 --- a/media-sound/edna/files/edna.gentoo +++ b/media-sound/edna/files/edna.gentoo @@ -5,7 +5,12 @@ # description: edna is a mini mp3 webserver # processname: python # pidfile: /var/run/ednad.pid -# config: +# config: + +export PYTHONPATH=/usr/lib/edna +EDNA=/usr/bin/edna +EDNACONF=/etc/edna/edna.conf +PIDFILE=/var/run/edna.pid depend() { need local @@ -13,13 +18,13 @@ depend() { start() { ebegin "Starting ednad mp3 server" - start-stop-daemon -m --quiet --pidfile /var/run/ednad.pid --start --exec \ - /usr/bin/edna -- --daemon /etc/edna/edna.conf + start-stop-daemon -m -b --start --quiet --pidfile $PIDFILE \ + --exec $EDNA -- $EDNACONF eend $? } stop() { ebegin "Stopping ednad" - start-stop-daemon -o --quiet --stop --pidfile /var/run/ednad.pid + start-stop-daemon -o --quiet --stop --pidfile $PIDFILE eend $? } |