Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Programming/Scripts

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 21st November 2005, 23:53
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default REQ: Start/Stop Script for ISPC and other services

Can someone please show me how to create a run and stop script for ISPConfig on my sandbox? I have it running on one of my computers for testing purposes and I don't use it very often. What is required is to start and stop ISPConfig services and all services that is installed with the how-to. I'm running Ubuntu Breezy.

Last edited by domino; 21st November 2005 at 23:57.
Reply With Quote
Sponsored Links
  #2  
Old 22nd November 2005, 00:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

There's already an ISPConfig init script: /etc/init.d/ispconfig_server
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #3  
Old 22nd November 2005, 06:59
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Excuse me while I go hide in shame. Thank you
Reply With Quote
  #4  
Old 22nd November 2005, 08:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,665
Thanks: 819
Thanked 5,316 Times in 4,169 Posts
Default

There is also an FAQ entry about how to start / restart ISPConfig:

http://www.howtoforge.com/faq/index....=34&artlang=en
Reply With Quote
  #5  
Old 22nd November 2005, 08:47
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

Thanks till. As punishment, I won't post another stupid question for another month. So see you next year

EDIT: Wait, please tell me how to create a link to the command on the desktop. 1 link for Stop ISPConfig services and 1 for Start ISPConfig services. Also, can you please tell me how I'm able to add other services like apache2 and mySQL, which I think run independent from ISPConfig.

Last edited by domino; 22nd November 2005 at 08:52.
Reply With Quote
  #6  
Old 22nd November 2005, 11:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Quote:
Originally Posted by domino
EDIT: Wait, please tell me how to create a link to the command on the desktop. 1 link for Stop ISPConfig services and 1 for Start ISPConfig services. Also, can you please tell me how I'm able to add other services like apache2 and mySQL, which I think run independent from ISPConfig.
I think you can do it in your desktop's control center. But these scripts have to be run as root!
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #7  
Old 22nd November 2005, 13:17
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

You can set "Run as Root" to the shorcut to gain access in user mode. What pkg are you referring to when you say "desktop's contol center"? The only other say I can enable/disable the services is to run sysv-rc-conf. But I would prefer a "1-click does it all thing". Is it possible?
Reply With Quote
  #8  
Old 22nd November 2005, 15:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
Default

Must be somewhere under "System" on your Ubuntu desktop. I don't have Ubuntu installed right now...
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
  #9  
Old 22nd November 2005, 20:50
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 9 Times in 8 Posts
Default

There are where I have to go in order to toggle the services . I wish there was another way to do this other than having to open 3 application to turn on/off 9 services

Boot-Up Manager: Bind, IMAP, CLamAV
Services Setting: MySQL, ProFTPD, Postfix, SSH, Apache2
Terminal: ISPConfig
Reply With Quote
  #10  
Old 22nd November 2005, 22:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,739 Times in 2,574 Posts
 
Default

Can't you simply right-click on the desktop and create a new shortcut icon and specify a command to run?
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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


All times are GMT +2. The time now is 09:02.


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