LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 08-11-2011, 10:43 AM   #1
otthawk
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Rep: Reputation: Disabled
Monitor With God


Monitor with god, needs to be restarted automatically when the server gets rebooted. I've yet to find a guide on this that actually works. Any suggestions?
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 08-11-2011, 11:32 AM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Hello,

What exactly are you trying to ask? What is "monitor with god?"

Cheers,

Josh
 
Old 08-11-2011, 11:44 AM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,634

Rep: Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965Reputation: 7965
Quote:
Originally Posted by corp769 View Post
Hello,
What exactly are you trying to ask? What is "monitor with god?"
It's this:
http://god.rubyforge.org/

OP, the directions for starting god are on their page: "sudo god -c /path/to/config.god". So, it's only a command that needs to be run. You don't give any details about your version/distro of Linux, so it's hard to be specific. Normally, you'd know what runlevel your system uses by default...there is an /etc/init.d/rcx.d directory, with symbolic links to files starting with either S or K (start or kill). Write a small shell script to run god. Link to it as an Sxxxxxx script name. That's pretty much it.

You can also add something to the end of one of the existing startup scripts in /etc/init.d, too.....
 
2 members found this post helpful.
Old 08-11-2011, 11:46 AM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Location: /dev/null
Posts: 5,818

Rep: Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007Reputation: 1007
Thanks for that.... I thought it had to do something with a monitor? As in a display....
 
Old 08-11-2011, 12:18 PM   #5
otthawk
LQ Newbie
 
Registered: Jul 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
TB0ne, Its Ubuntu 11.04, and as a programmer I'm not that knowledgeable on Linux servers. I've seen the sim link but never specifically for what I was doing and was unable to adapt it.
 
Old 08-11-2011, 12:27 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
If you normally start it with "sudo god -c /path/to/config.god"
then you can have it start at boot just by putting
Code:
/path/to/god -c /path/to/config.god
as the penultimate line in /etc/rc.local (on the line before the final exit 0 )

god will be started at boot.

This is quick, dirty (in that there is no error checking or reporting) and simple.
 
2 members found this post helpful.
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
God what can i do? bhayu11tonix Linux - Hardware 2 06-14-2008 11:56 PM
My God! How to?!? cthinh Linux - Newbie 3 07-04-2005 10:11 PM
... Oh God. Davus Linux - Software 3 11-30-2004 10:35 PM
I had seen GOD! abimanyu007 Linare 2 09-29-2004 12:34 PM
Oh My God...What have i done?! Abe_the_Man Linux - General 9 10-21-2003 11:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 05:25 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration