diff options
Diffstat (limited to 'media-video/flumotion/files/flumotion-init-0.2.0')
-rwxr-xr-x | media-video/flumotion/files/flumotion-init-0.2.0 | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/media-video/flumotion/files/flumotion-init-0.2.0 b/media-video/flumotion/files/flumotion-init-0.2.0 new file mode 100755 index 000000000000..de571785ff38 --- /dev/null +++ b/media-video/flumotion/files/flumotion-init-0.2.0 @@ -0,0 +1,17 @@ +#!/sbin/runscript + +depend() { + need net +} + +start() { + ebegin "Starting Flumotion" + HOME=/usr/share/flumotion start-stop-daemon -o --start --chuid flumotion:flumotion --exec /usr/sbin/flumotion start + eend $? +} + +stop() { + ebegin "Stopping Flumotion" + /usr/sbin/flumotion stop + eend $? +} |