Fixed apache user and group handing on Ubuntu
This commit is contained in:
parent
2904008ee2
commit
7b10e62e1c
2 changed files with 18 additions and 14 deletions
|
@ -3,9 +3,10 @@
|
|||
# Since there is no sane way to get the parsed apache2 config in scripts, some
|
||||
# settings are defined via environment variables and then used in apache2ctl,
|
||||
# /etc/init.d/apache2, /etc/logrotate.d/apache2, etc.
|
||||
export APACHE_RUN_USER=<%= scope.lookupvar('apache::server::user') %>
|
||||
export APACHE_RUN_GROUP=<%= scope.lookupvar('apache::server::group') %>
|
||||
export APACHE_RUN_USER=<%= scope.lookupvar('apache::common::user') %>
|
||||
export APACHE_RUN_GROUP=<%= scope.lookupvar('apache::common::group') %>
|
||||
export APACHE_PID_FILE=/var/run/apache2.pid
|
||||
export APACHE_RUN_DIR=/var/run/apache2
|
||||
|
||||
## The locale used by some modules like mod_dav
|
||||
export LANG=C
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue