"slugos from the scratch" - a preparation for samba and nlsu2 twonkymedia server [part 3]
twonkymedia installation
the architecture-specific downloads can be found at
twonkymedia
. We will install the Twonky server under the user Twonky for the architecture, arm big endian '. [Tinylogin represents the utility is, with which to manage users, groups, etc..]
# ipkg install tinylogin
# adduser-h / home / Twonky-s / bin / sh chown-g twonkymedia Twonky
- now we übrprüfen whether the existing libraries [gnu c library] den prerequisites gehorchen.
- #ipkg list_installed [! Always with usage - full qualified path] the first start times # / home / Twonky / twonkymedia.sh start
# ps-fu Twonky
# netstat-an the user must read Twonky rights to that directory [or subdirectories] have nothing else to be found.
device of the automatic start at boot in / etc / init.d create a wrapper script twonkymedia.sh [sudo]
# / bin / sh case "$ 1" in 'start')
sudo! - Twonky u / home / Twonky / twonkymedia.sh start ;; - sudo-u Twonky / home / Twonky / twonkymedia.sh stop
;; 'restart') sudo-u Twonky / home / Twonky / twonkymedia.sh restart
;;
'status') sudo-u Twonky / home / Twonky / twonkymedia.sh status ;;
esac
dannach # cd / etc/rc3.d
-
# ln-s .. / init.d / twonkymedia.sh K46twonky
-
as twonkymedia - client runs in my bathroom one noxon i-radio
enjoy:)
'stop')
# ln-s .. / init.d / twonkymedia.sh S44twonky
0 comments:
Post a Comment