startup script for suse 10.0

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1780
    howe222
    Participant

    good evening,

    if I restart my server i have to restart also firefly via
    /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf -f

    Would it be possible, that SUSE is starting this service automaticlly??

    Best Regards
    Ciao

    #12772
    rpedde
    Participant

    @howe222 wrote:

    good evening,

    if I restart my server i have to restart also firefly via
    /usr/local/sbin/mt-daapd -c /usr/local/etc/mt-daapd.conf -f

    Would it be possible, that SUSE is starting this service automaticlly??

    Best Regards
    Ciao

    Yes, the way to do that on all unixes is to use a startup script. Google around for “sysv init”, that’s the style of initialization that suse uses to start up processes at boot.

    You’ll need at a minimum a startup script and shutdown script. There is one from suse in contrib/init.d in the tarball you downloaded.

    You’ll have to copy that as “mt-daapd” in /etc/init.d, then make it startup at boot with “chkconfig –add mt-daapd” (I think, not sure on suse). Might have to use “insserv”.

    More details here: http://susefaq.sourceforge.net/faq/services.html

    Anyone with more suse knowledge want to add anything?

Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Setup Issues’ is closed to new topics and replies.