summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/flumotion/files/flumotion-init-0.2.0')
-rwxr-xr-xmedia-video/flumotion/files/flumotion-init-0.2.017
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 $?
+}