Jump to content
The Uniform Server Community
web-M

help needed by adjusting server_start so it also will stop

Recommended Posts

Can someone help me with the following?

 

I am making a test pack with miniserver and ImpressCMS. It is based at the same server version that is used for Xoops miniserver (21).

When you hit server_start a CMD screen appears. It is saying that apache en mysql are starting, etc.

After the server has started the CMD screen remains up. It says push a button to proceed. When doing that the screen disappaers.

I want that when I push a button the screen does not disappear but that the server is sutting down. So the user does not have to use server_stop.

He can start and stop the server with just following the messages in the CMD screen after he used server_start.

 

I hope I made clear what I want. Your help is very welcome!!


_______________________________________________________________________________

 

ImpressCMS - making a lasting impression!!

Personal website

Share this post


Link to post
Share on other sites

I assume this is the server you are referring to:

http://wiki.uniformserver.com/index.php/Mi..._-_Xoops_2.3.2b

 

I think I understand the requirement!

If my understanding is correct this is a possible solution:

 

Edit file: server_start.bat

At the bottom of this page locate section:

:END
echo.
pause
rem ## Return to caller
popd

Change it to the following:

:END
echo.
pause
popd
call server_stop.bat
rem ## Return to caller
popd

All the best

Ric :)

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...