[uNSLUng] Twonkyvision started but killed
Posted: Tue Feb 05, 2008 8:39 pm
I've installed Unslung V2.3R63-uNSLUng-6.8-beta on the Linksys NSLU2. TwonkyMedia Version 4.4.3.1 is installed and working when I run it. However as soon as I close my ssh connection to the slug, Twonkyvision also gets shut down.
What I tried also is to start Twonkyvision after booting the device. Unfortunately this script is also not working, Twonkyvision is not running after boot, or run and straight away killed. The following script I use:
So my question here is: how can I keep Twonkyvision running forever (or until I kill it) without keeping a ssh connection open? (And second to this: how can I make Twonkyvision running automatically after reboot?)
What I tried also is to start Twonkyvision after booting the device. Unfortunately this script is also not working, Twonkyvision is not running after boot, or run and straight away killed. The following script I use:
Code: Select all
#!/bin/sh
# if the server is already running
if [ -n "`pidof twonkymedia`" ];
then
# kill it
/bin/killall twonkymedia 2>/dev/null
# give the server time to shut down
sleep 2
fi
( cd /share/hdd/twonkyvision/;
/share/hdd/twonkyvision/twonkymediaserver >twonkylog 2>&1)