From d676a9fd59731f331bc2338fe758852667938c53 Mon Sep 17 00:00:00 2001 From: ahrenholz Date: Tue, 22 Oct 2013 14:23:57 +0000 Subject: [PATCH] (Boeing r1783) fix HTTP service running under Ubuntu by setting up /var/lock/apache2 dir --- daemon/core/services/utility.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/daemon/core/services/utility.py b/daemon/core/services/utility.py index 11ec3453..3649df61 100644 --- a/daemon/core/services/utility.py +++ b/daemon/core/services/utility.py @@ -390,8 +390,8 @@ class HttpService(UtilService): _configs = ("/etc/apache2/apache2.conf", "/etc/apache2/envvars", "/var/www/index.html",) _dirs = ("/etc/apache2", "/var/run/apache2", "/var/log/apache2", - "/var/lock/apache2", "/var/www", ) - _startup = ("apache2ctl start",) + "/run/lock", "/var/lock/apache2", "/var/www", ) + _startup = ("chown www-data /var/lock/apache2", "apache2ctl start",) _shutdown = ("apache2ctl stop",) _validate = ("pidof apache2",)