diff options
author | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-03-25 00:25:19 +0000 |
---|---|---|
committer | Zaheer Abbas Merali <zaheerm@gentoo.org> | 2005-03-25 00:25:19 +0000 |
commit | d27fd331ed33233a1a3d710747a7c0d255288123 (patch) | |
tree | 339b97cca32b70787d5e09c6f3a44c70424a2666 /media-video/flumotion/files | |
parent | Added spanish translations for gnustep-* (diff) | |
download | historical-d27fd331ed33233a1a3d710747a7c0d255288123.tar.gz historical-d27fd331ed33233a1a3d710747a7c0d255288123.tar.bz2 historical-d27fd331ed33233a1a3d710747a7c0d255288123.zip |
Initial Commit - Flumotion Streaming Server (Fixes #85791)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'media-video/flumotion/files')
-rw-r--r-- | media-video/flumotion/files/digest-flumotion-0.1.6 | 1 | ||||
-rwxr-xr-x | media-video/flumotion/files/flumotion-init | 28 |
2 files changed, 29 insertions, 0 deletions
diff --git a/media-video/flumotion/files/digest-flumotion-0.1.6 b/media-video/flumotion/files/digest-flumotion-0.1.6 new file mode 100644 index 000000000000..20bf22bf741a --- /dev/null +++ b/media-video/flumotion/files/digest-flumotion-0.1.6 @@ -0,0 +1 @@ +MD5 eaaa93f8d2696164849c19d0c466fab9 flumotion-0.1.6.tar.bz2 574448 diff --git a/media-video/flumotion/files/flumotion-init b/media-video/flumotion/files/flumotion-init new file mode 100755 index 000000000000..7f144e7e4ccd --- /dev/null +++ b/media-video/flumotion/files/flumotion-init @@ -0,0 +1,28 @@ +#!/sbin/runscript + +flumotion_manager=/usr/bin/flumotion-manager +flumotion_worker=/usr/bin/flumotion-worker +flumotion_manager_pidfile=/var/run/flumotion/manager.default.pid +flumotion_worker_pidfile=/var/run/flumotion/worker.localhost.pid + +depend() { + need net +} + +start() { + ebegin "Starting Flumotion Manager" + HOME=/usr/share/flumotion start-stop-daemon --start --chuid flumotion:flumotion --pidfile ${flumotion_manager_pidfile} --exec ${flumotion_manager} -- -D /etc/flumotion/managers/default/planet.xml + eend $? + ebegin "Starting Flumotion Worker" + HOME=/usr/share/flumotion start-stop-daemon --start --chuid flumotion:flumotion --pidfile ${flumotion_worker_pidfile} --exec ${flumotion_worker} -- -D /etc/flumotion/workers/default.xml + eend $? +} + +stop() { + ebegin "Stopping Flumotion Worker" + start-stop-daemon --stop --pidfile ${flumotion_worker_pidfile} + eend $? + ebegin "Stopping Flumotion Manager" + start-stop-daemon --stop --pidfile ${flumotion_manager_pidfile} + eend $? +} |