milis/talimatname/genel/m/minidlna/minidlna

56 lines
931 B
Bash
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#!/bin/sh
########################################################################
# Begin minidlna
#
# Tanım: ReadyMedia is a simple media server software
#
# Authors : tnut
#
# Version : LFS x.x saravane
#
# Notes :
#
########################################################################
### BEGIN INIT INFO
# Provides: minidlna
# Required-Start:
# Should-Start:
# Required-Stop:
# Should-Stop:
# Default-Start:
# Default-Stop:
# Short-Tanım:
# Tanım:
# X-LFS-Provided-By:
### END INIT INFO
. /lib/lsb/init-functions
case "${1}" in
start)
log_info_msg "Starting ReadyMedia..."
start_daemon /usr/sbin/minidlnad
;;
stop)
log_info_msg "Stopping ReadyMedia..."
killproc /usr/sbin/minidlnad
;;
restart)
${0} stop
sleep 1
${0} start
;;
*)
echo "Usage: ${0} {start|stop|restart}"
exit 1
;;
esac
exit 0
# End minidlna