(Boeing r1783)
fix HTTP service running under Ubuntu by setting up /var/lock/apache2 dir
This commit is contained in:
parent
c85429ba8b
commit
d676a9fd59
1 changed files with 2 additions and 2 deletions
|
@ -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",)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue