Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:adrianSuSE
mt-daapd
daapd.init
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File daapd.init of Package mt-daapd
#! /bin/sh # Copyright (c) 2003 SuSE AG Nuernberg, Germany. # # Author: adrian@suse.de, based on template from source package # # /etc/init.d/daapd # and its symbolic link # /usr/sbin/rcdaapd # ### BEGIN INIT INFO # Provides: daapd # Required-Start: $network $named # Should-Start: mdnsd # Required-Stop: # Default-Start: 3 5 # Default-Stop: 0 1 2 4 6 # Description: to serv music streams via DAAP protocoll ### END INIT INFO . /etc/rc.status # Determine the base and follow a runlevel link name. base=${0##*/} link=${base#*[SK][0-9][0-9]} # Force execution if not called by a runlevel directory. test -x /usr/sbin/daapd || exit 0 case "$1" in start) echo -n 'Starting daapd' startproc /usr/sbin/mt-daapd -y rc_status -v ;; stop) echo -n "Shutting down daapd " killproc /usr/sbin/mt-daapd rc_status -v ;; restart) $0 stop $0 start rc_status ;; try-restart) $0 status if test $? = 0; then $0 restart else rc_reset fi rc_status ;; force-reload) $0 stop; sleep 1 && $0 start rc_status ;; reload) echo -n "Reload service daapd " killproc -HUP /usr/sbin/mt-daapd rc_status -v ;; status) echo -n "Checking for daapd " checkproc /usr/sbin/mt-daapd rc_status -v ;; *) echo "Usage: $0 {start|stop|try-restart|restart|force-reload|reload|status}" exit 1 esac rc_exit
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor