ftimme
2013-07-11 412eec8a5fb6208d361c033653015ff3c74ad3ab
refs
author ftimme <ft@falkotimme.com>
Thursday, July 11, 2013 10:59 -0400
committer ftimme <ft@falkotimme.com>
Thursday, July 11, 2013 10:59 -0400
commit412eec8a5fb6208d361c033653015ff3c74ad3ab
tree b21365016576a8f29f40f7146851ac784476f31a tree | zip | gz
parent e35f066494564e76d4837b5420fbff1e9d7190fc view | diff
- Improved recognition of when a service (Apache, nginx, etc.) was really restarted/reloaded successfully. Checking port 80 is not enough because nginx reloads silently, ignoring faulty configuration files, but returns a value > 0. If we don't check the return value, nginx will refuse to start when someone issues a restart the next time.
6 files modified
41 ■■■■■ changed files
interface/web/sites/database_phpmyadmin.php 6 ●●●● diff | view | raw | blame | history
server/lib/classes/services.inc.php 3 ●●●● diff | view | raw | blame | history
server/mods-available/dns_module.inc.php 9 ●●●●● diff | view | raw | blame | history
server/mods-available/web_module.inc.php 9 ●●●●● diff | view | raw | blame | history
server/plugins-available/apache2_plugin.inc.php 7 ●●●●● diff | view | raw | blame | history
server/plugins-available/nginx_plugin.inc.php 7 ●●●●● diff | view | raw | blame | history