Service Information
The web server for DAFNE Control System is Apache installed on host danteweb.lnf.infn.it
(CentOS 7). The configuration files are present in the following folder:
/etc/httpd/
All web sites are stored in following folder:
/var/www/html/
There is a virtualhost for Python REST API, which content is stored in the following folder:
/var/www/python/dafnews
Service Check
To check if Apache service is running, launch this command and check its output as root user:
[root@danteweb ~]# systemctl status httpd.service
If the service is active (view following screenshot) then it's running, otherwise read which errors are reported.
Service Stop
To stop Apache service, run the following command as root user:
[root@danteweb ~]# systemctl stop httpd.service
Service Start
To start Apache service, run the following command as root user:
[root@danteweb ~]# systemctl start httpd.service
Service Restart
To restart Apache service, run the following command as root user:
[root@danteweb ~]# systemctl restart httpd.service