Quote:
Originally Posted by loonsailor
I don't remember for sure, but I think it's set up to start automatically. There should be a script called sagetv in /etc/init.d. There should be links to that script in the other startup directories, like /etc/rc2.d, called something like S98sagetv, which is what will cause it to run automatically. If there aren't, those can be created with update-rc.d (>sudo update-rc.d sagetv defaults 90).
I think that originally mine was set up to run the script earlier in the startup script (S30?) and that didn't work well for me. If so, and if you have problems with cold starts, you could remove the early link (>sudo update-rc.d -f sagetv remove) and then re-add it later in the startup, with the command suggested above.
|
Does this look correct to you?
Code:
:/etc/rc2.d# ls -la
total 12
drwxr-xr-x 2 root root 4096 2009-11-06 22:00 .
drwxr-xr-x 123 root root 4096 2009-11-07 11:59 ..
-rw-r--r-- 1 root root 677 2009-10-19 11:18 README
lrwxrwxrwx 1 root root 13 2009-11-06 20:36 S16ssh -> ../init.d/ssh
lrwxrwxrwx 1 root root 14 2009-11-06 20:36 S19lirc -> ../init.d/lirc
lrwxrwxrwx 1 root root 15 2009-11-06 20:36 S19mysql -> ../init.d/mysql
lrwxrwxrwx 1 root root 27 2009-11-06 20:46 S20nfs-kernel-server -> ../init.d/nfs-kernel-server
lrwxrwxrwx 1 root root 16 2009-11-06 22:00 S20sagetv -> ../init.d/sagetv
lrwxrwxrwx 1 root root 15 2009-11-06 20:36 S20samba -> ../init.d/samba
lrwxrwxrwx 1 root root 13 2009-11-06 20:36 S23ntp -> ../init.d/ntp
lrwxrwxrwx 1 root root 19 2009-11-06 20:36 S25bluetooth -> ../init.d/bluetooth
lrwxrwxrwx 1 root root 15 2009-11-06 20:36 S50rsync -> ../init.d/rsync
lrwxrwxrwx 1 root root 19 2009-11-06 20:36 S70dns-clean -> ../init.d/dns-clean
lrwxrwxrwx 1 root root 18 2009-11-06 20:36 S70pppd-dns -> ../init.d/pppd-dns
lrwxrwxrwx 1 root root 17 2009-11-06 20:36 S91apache2 -> ../init.d/apache2
lrwxrwxrwx 1 root root 22 2009-11-06 20:36 S99acpi-support -> ../init.d/acpi-support
lrwxrwxrwx 1 root root 21 2009-11-06 20:36 S99grub-common -> ../init.d/grub-common
lrwxrwxrwx 1 root root 21 2009-11-06 20:36 S99laptop-mode -> ../init.d/laptop-mode
lrwxrwxrwx 1 root root 18 2009-11-06 20:36 S99ondemand -> ../init.d/ondemand
lrwxrwxrwx 1 root root 18 2009-11-06 20:36 S99rc.local -> ../init.d/rc.local
Is there a command line way to see if SageTV has started?
I used these:
Code:
/etc/rc2.d# pgrep sagetv
/etc/rc2.d# pgrep sage
/etc/rc2.d# ps -e | grep -i sage
None returned anything.
However, maybe it is not shown because it is run inside Java?
Code:
/etc/rc2.d# pgrep java
1657