SageTV Community  

Go Back   SageTV Community > SageTV Products > SageTV Linux
Forum Rules FAQs Community Downloads Today's Posts Search

Notices

SageTV Linux Discussion related to the SageTV Media Center for Linux. Questions, issues, problems, suggestions, etc. relating to the SageTV Linux should be posted here.

Reply
 
Thread Tools Search this Thread Display Modes
  #21  
Old 10-30-2009, 08:12 AM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
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.
Reply With Quote
  #22  
Old 10-30-2009, 10:33 AM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by loonsailor View Post
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.
Thank you.
Reply With Quote
  #23  
Old 11-07-2009, 11:16 AM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by loonsailor View Post
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
Reply With Quote
  #24  
Old 11-07-2009, 11:50 AM
bcjenkins bcjenkins is offline
SageTVaholic
 
Join Date: Jan 2006
Posts: 3,764
Code:
ps -ef |grep sagetv/server |grep -v grep
but if you want the pid you can check the pid file for easy access.

B
__________________
Running SageTV on unRAID via Docker
Tuning handled by HDHR3-6CC-3X2 using OpenDCT
Reply With Quote
  #25  
Old 11-07-2009, 02:27 PM
dshields's Avatar
dshields dshields is offline
Sage Advanced User
 
Join Date: Apr 2006
Posts: 132
Quote:
Originally Posted by bcjenkins View Post
Code:
ps -ef |grep sagetv/server |grep -v grep
but if you want the pid you can check the pid file for easy access.

B
Thank you.

And thanks for your blog post about Comskip on Linux.
Reply With Quote
  #26  
Old 11-07-2009, 07:05 PM
loonsailor loonsailor is offline
Sage Advanced User
 
Join Date: Jul 2009
Location: Berkeley, CA, USA
Posts: 176
I notice from your listing that sage is started before samba. If you need samba - mounting any smb file systems, etc. - you might want to move sage later in the boot process. On the other hand, if it ain't broke...
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Instructions for using the Windows Media Centre Remote in SageTV Mahoney Hardware Support 5 06-16-2011 09:02 AM
SageTV V6.3 is now available for Win/Linux! Narflex Announcements 1 03-07-2008 12:33 PM
instructions for beginners on placeshifter? c309 SageTV Placeshifter 6 08-01-2006 01:44 PM
streamzap setup instructions? philhu Hardware Support 2 03-18-2005 12:26 AM


All times are GMT -6. The time now is 03:02 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2023, vBulletin Solutions Inc.
Copyright 2003-2005 SageTV, LLC. All rights reserved.