Fix for radio buttons
[sdc.git] / asdc-tests / src / test / resources / CI / components / apache / scripts / start_apache.sh
1 #!/bin/bash
2
3 service="apache2"
4
5 if (( $(ps -ef | grep -v grep | grep $service | wc -l) > 0 ))
6 then
7   sudo /etc/init.d/$service restart
8 else
9   sudo /etc/init.d/$service start
10 fi