eva         15/01/05 23:35:15

  Added:                flumotion-init-3
  Log:
  Bump to EAPI=5. Switch to python-r1, bug #528538. Fixes build with system 
interpreter not being python2, bug #431522. Move /var/run/flumotion management 
to init script, bug #450900. Unittests should now pass, bug #330535.
  
  (Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key 
C6085806)

Revision  Changes    Path
1.1                  media-video/flumotion/files/flumotion-init-3

file : 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/files/flumotion-init-3?rev=1.1&view=markup
plain: 
http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-video/flumotion/files/flumotion-init-3?rev=1.1&content-type=text/plain

Index: flumotion-init-3
===================================================================
#!/sbin/runscript

depend() {
    need net
}

start() {
    ebegin "Starting Flumotion"
    if [ ! -d /var/run/flumotion ] ; then
        mkdir /var/run/flumotion
        chown flumotion:flumotion /var/run/flumotion
        chmod 755 /var/run/flumotion
    fi

    start-stop-daemon -o --start --chuid flumotion:flumotion --exec 
/usr/sbin/flumotion start
    eend $?
}

stop() {
    ebegin "Stopping Flumotion"
    /usr/sbin/flumotion stop
    eend $?
}




Reply via email to