HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   Programming/Scripts (http://www.howtoforge.com/forums/forumdisplay.php?f=7)
-   -   REQ: Start/Stop Script for ISPC and other services (http://www.howtoforge.com/forums/showthread.php?t=1352)

domino 21st November 2005 23:53

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.

falko 22nd November 2005 00:15

There's already an ISPConfig init script: /etc/init.d/ispconfig_server

domino 22nd November 2005 06:59

:o Excuse me while I go hide in shame. Thank you

till 22nd November 2005 08:27

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

http://www.howtoforge.com/faq/index....=34&artlang=en

domino 22nd November 2005 08:47

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.

falko 22nd November 2005 11:56

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!

domino 22nd November 2005 13:17

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?

falko 22nd November 2005 15:18

Must be somewhere under "System" on your Ubuntu desktop. I don't have Ubuntu installed right now...

domino 22nd November 2005 20:50

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

falko 22nd November 2005 22:43

Can't you simply right-click on the desktop and create a new shortcut icon and specify a command to run?


All times are GMT +2. The time now is 16:36.

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