Copy the default configuration files to /etc/ by running the following commands sudo cp /opt/ums/UMS.conf /etc/.Make the system aware of your new script by running update-rc.d ums defaults.Make that script executable by running chmod +x /etc/init.d/ums.# Depend on lsb-base (>= 3.0-6) to ensure that this file is present.Įcho >&2 -e ""$txtylw"Warning:$txtrst $1" # Load the VERBOSE setting and other rcS variables # let the program to die gracefully and 'restart' will not work # If this value is set too low you might not UMS_START=1 # Wether to start or not UMS ver at boot time.ĭODTIME=30 # Time to wait for the server to die, in seconds. PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin # Description: Java Upnp Media Server dedicated to PS3 # Required-Stop: $local_fs $remote_fs $network # Required-Start: $local_fs $remote_fs $network Create an init.d script by running sudo nano /etc/init.d/ums and copying the following into that file #!/bin/bash.Install UMS 8.0.1 by running the following commands cd /opt. Sudo apt-get install openjdk-8-jre openjdk-8-jre-headlessĪpt-get install mediainfo dcraw vlc-bin mplayer mencoder
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |