(Boeing r1783)

fix HTTP service running under Ubuntu by setting up /var/lock/apache2 dir
This commit is contained in:
ahrenholz 2013-10-22 14:23:57 +00:00
parent c85429ba8b
commit d676a9fd59

View file

@ -390,8 +390,8 @@ class HttpService(UtilService):
_configs = ("/etc/apache2/apache2.conf", "/etc/apache2/envvars", _configs = ("/etc/apache2/apache2.conf", "/etc/apache2/envvars",
"/var/www/index.html",) "/var/www/index.html",)
_dirs = ("/etc/apache2", "/var/run/apache2", "/var/log/apache2", _dirs = ("/etc/apache2", "/var/run/apache2", "/var/log/apache2",
"/var/lock/apache2", "/var/www", ) "/run/lock", "/var/lock/apache2", "/var/www", )
_startup = ("apache2ctl start",) _startup = ("chown www-data /var/lock/apache2", "apache2ctl start",)
_shutdown = ("apache2ctl stop",) _shutdown = ("apache2ctl stop",)
_validate = ("pidof apache2",) _validate = ("pidof apache2",)