-1
I wonder if it is possible to check whether or not apache2 is running. If it is not running I want to execute it using shellscript
Currently I have added a function which I named run_apache which simply goes to the directory with apache2 starts it. I have added this function to my .bashrc
file. It will however execute everytime I open a new shell, which I don't want to unless apache2 is not running already.
what system are you running, Debian? – gipi – 2013-04-21T13:08:31.233
okay, I missed some tags. And missed also to mention it is about Cygwin – starcorn – 2013-04-21T13:19:37.997