1

Start or Stop a server with a single script launcher

view story
linux-howto

http://askubuntu.com – I made 2 .sh scripts to start and stop Xampp server. I'd like to merge them in a single launcher to obtain something like a ON/OFF button, so that if Xampp has already been started it would stop, but I don't know how to do that. Can someone help me? P.S. I read this answer but it doesn't help...why did Oli said "But I'll leave this up to you"? :P (HowTos)