Wampmanager: Keep services states unchanged on exit
Posted by: peter (---.mbbm.de)
Date: July 22, 2014 09:59AM

Hi,
I changed the wampapache and wampmysqld service to startup type automatic. They start now without user logon.

Later I logon and start wampmanager.
But if I exit it both services ar stopped.
Can I configure wampmanager to keep the service states unchanged on exit?

Peter

Options: ReplyQuote
Re: Wampmanager: Keep services states unchanged on exit
Posted by: Otomatic (Moderator)
Date: July 22, 2014 10:30AM

Hi,

In wamp/wampmanager.tpl file, replace:
[myexit]
;WAMPMYEXITSTART
Action: service; Service: ${c_apacheService}; ServiceAction: stop; Flags: ignoreerrors
Action: service; Service: ${c_mysqlService}; ServiceAction: stop; Flags: ignoreerrors
Action:  exit
;WAMPMYEXITEND
by
[myexit]
;WAMPMYEXITSTART
Action:  exit
;WAMPMYEXITEND

---------------------------------------------------------------
Documentation Apache - Documentation PHP - Documentation MySQL - Wampserver install files & addons

Options: ReplyQuote
Re: Wampmanager: Keep services states unchanged on exit
Posted by: peter (---.mbbm.de)
Date: July 22, 2014 06:06PM

Thank you! Works like a charm!

Options: ReplyQuote


Sorry, only registered users may post in this forum.