LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
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, 11: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, 12:32 PM   #2
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Hello,

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

Cheers,

Josh
 
Old 08-11-2011, 12:44 PM   #3
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 17,926

Rep: Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690Reputation: 3690
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, 12:46 PM   #4
corp769
LQ Guru
 
Registered: Apr 2005
Posts: 5,817

Rep: Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002Reputation: 1002
Thanks for that.... I thought it had to do something with a monitor? As in a display....
 
Old 08-11-2011, 01: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, 01:27 PM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Debian "Jessie"
Posts: 6,085

Rep: Reputation: 398Reputation: 398Reputation: 398Reputation: 398
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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-15-2008 12:56 AM
My God! How to?!? cthinh Linux - Newbie 3 07-04-2005 11:11 PM
... Oh God. Davus Linux - Software 3 11-30-2004 11:35 PM
I had seen GOD! abimanyu007 Linare 2 09-29-2004 01:34 PM
Oh My God...What have i done?! Abe_the_Man Linux - General 9 10-22-2003 12:54 AM


All times are GMT -5. The time now is 06:48 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration