1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 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 $? }