User Tools

Site Tools


install_qnap

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision Both sides next revision
install_qnap [2011/12/24 00:28]
cerberus
install_qnap [2011/12/24 00:29]
cerberus
Line 146: Line 146:
  
   #!/bin/sh   #!/bin/sh
 +  
   case "$1" in   case "$1" in
 +  
   stop)   stop)
         echo "Stop Serviio..."         echo "Stop Serviio..."
         "/opt/serviio/bin/serviio.sh -stop" > /dev/null 2>&1 &         "/opt/serviio/bin/serviio.sh -stop" > /dev/null 2>&1 &
         ;;         ;;
 +  
   start)   start)
         # start Serviio in background mode         # start Serviio in background mode
Line 159: Line 159:
         echo "Start Serviio..."         echo "Start Serviio..."
         ;;         ;;
 +  
   restart)   restart)
         $0 stop         $0 stop
Line 165: Line 165:
         $0 start         $0 start
         ;;         ;;
 +  
   *)   *)
         echo "usage: $0 { start | stop | restart}" >&2         echo "usage: $0 { start | stop | restart}" >&2
         exit 1         exit 1
         ;;         ;;
 +  
   esac   esac
  
Line 208: Line 208:
  
   [/opt/etc/init.d] # ffmpeg   [/opt/etc/init.d] # ffmpeg
 +  
   FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers   FFmpeg version UNKNOWN, Copyright (c) 2000-2011 the FFmpeg developers
   built on Apr 13 2011 20:14:18 with gcc 4.2.3   built on Apr 13 2011 20:14:18 with gcc 4.2.3
install_qnap.txt ยท Last modified: 2012/02/25 17:57 by cerberus