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 22nd November 2005, 00:53
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 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; 22nd November 2005 at 00:57.
Reply With Quote
  #2  
Old 22nd November 2005, 01:15
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

There's already an ISPConfig init script: /etc/init.d/ispconfig_server
__________________
Falko
--
Follow me on:
Reply With Quote
  #3  
Old 22nd November 2005, 07:59
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 Posts
Default

Excuse me while I go hide in shame. Thank you
Reply With Quote
  #4  
Old 22nd November 2005, 09:27
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 19,805
Thanks: 285
Thanked 1,805 Times in 1,357 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, 09:47
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 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 09:52.
Reply With Quote
  #6  
Old 22nd November 2005, 12:56
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 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
--
Follow me on:
Reply With Quote
  #7  
Old 22nd November 2005, 14:17
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 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, 16:18
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Must be somewhere under "System" on your Ubuntu desktop. I don't have Ubuntu installed right now...
__________________
Falko
--
Follow me on:
Reply With Quote
  #9  
Old 22nd November 2005, 21:50
domino domino is offline
Senior Member
 
Join Date: Aug 2005
Posts: 364
Thanks: 0
Thanked 3 Times in 2 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, 23:43
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 31,853
Thanks: 781
Thanked 1,558 Times in 1,477 Posts
Default

Can't you simply right-click on the desktop and create a new shortcut icon and specify a command to run?
__________________
Falko
--
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 22:10.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Sponsored Links: Unified Communications: Thoughts, Strategies and Predictions
Join the discussion.
www.seamlessenterprise.com

IP Convergence
Integrate your wireless and wireline networks.
Learn how from the experts at Sprint.
www.seamlessenterprise.com

Wireless & Wireline Integration
Thoughts, strategies and solutions: join the discussion
www.seamlessenterprise.com

Unified Communications 2009
Join the Discussion. Now.
www.seamlessenterprise.com

Red Hat Virtual Experience - a free virtual event. Dec. 9th