#1  
Old 22nd December 2010, 21:13
Gecko Gecko is offline
Junior Member
 
Join Date: Oct 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default Starting Service

I created a small script

/etc/init.d/startvm

It works when I start it manually (need to be #)

How do I get that to start every time I reboot the computer?
Reply With Quote
Sponsored Links
  #2  
Old 22nd December 2010, 21:58
mini14 mini14 is offline
Member
 
Join Date: Oct 2010
Posts: 66
Thanks: 2
Thanked 3 Times in 3 Posts
Default

man chkconfig will point you in the right direction
Reply With Quote
  #3  
Old 23rd December 2010, 01:54
Gecko Gecko is offline
Junior Member
 
Join Date: Oct 2010
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by mini14 View Post
man chkconfig will point you in the right direction
Please don't give answers that are not answers; they don't help anyone.

Moving on,

chkconfig is not helpful as I'm running Ubuntu 10.04

I tried

$ sudo update-rc.d startvm defaults

but that didn't help
Reply With Quote
  #4  
Old 23rd December 2010, 02:44
mini14 mini14 is offline
Member
 
Join Date: Oct 2010
Posts: 66
Thanks: 2
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by Gecko View Post
Please don't give answers that are not answers; they don't help anyone.

Moving on,

chkconfig is not helpful as I'm running Ubuntu 10.04

I tried

$ sudo update-rc.d startvm defaults

but that didn't help
That was an answer..if you had provided more information with your question maybe you would have gotten a better answer.

As far as the type of answer..ever hear the one that goes "if you give a man a fish..."

Sorry the answer was not what you were looking for.
Reply With Quote
  #5  
Old 29th December 2010, 14:22
alleks alleks is offline
Senior Member
 
Join Date: Nov 2010
Posts: 157
Thanks: 9
Thanked 9 Times in 9 Posts
 
Default

Add it as a cronjob
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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
coexistence of php4 and php5 on ISPC3 AceLine Tips/Tricks/Mods 5 5th November 2010 15:56
Problem with services!! banzaiwebstudio.com Installation/Configuration 7 19th May 2010 22:13
Sites stopped working Toucan Installation/Configuration 21 4th January 2010 00:27
High on Lenny - Lvm Mount Problem Serverman Technical 1 23rd June 2009 17:26
dns server error Hellbound General 7 2nd August 2007 10:18


All times are GMT +2. The time now is 10:26.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.