forked from ucphhpc/docker-migrid
-
Notifications
You must be signed in to change notification settings - Fork 0
/
migrid-httpd.env
47 lines (40 loc) · 1.55 KB
/
migrid-httpd.env
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
#!/bin/bash
# envvars - default environment variables for apache(2)?ctl
# this won't be correct after changing uid
#unset HOME
# Distro-specific name of apache httpd daemon binary
APACHE_DAEMON="httpd"
# for supporting multiple dev users with their own daemon instances
APACHE_SUFFIX=
# Since there is no sane way to get the parsed ${APACHE_DAEMON} config in scripts, some
# settings are defined via environment variables and then used in apache(2)?ctl,
# /etc/init.d/${APACHE_DAEMON}, /etc/logrotate.d/${APACHE_DAEMON}, etc.
APACHE_RUN_USER=mig
APACHE_RUN_GROUP=mig
APACHE_PID_FILE=/var/run/httpd/httpd.pid
APACHE_RUN_DIR=/var/run/httpd
APACHE_LOCK_DIR=/var/lock/subsys/httpd
# Only /var/log/httpd is handled by /etc/logrotate.d/httpd.
APACHE_LOG_DIR=/var/log/httpd
# Custom etc dir support
APACHE_ETC_DIR=/etc/httpd
# CentOS systemd parsing chokes on quotes
#APACHE_ARGUMENTS="-f ${APACHE_ETC_DIR}/${APACHE_DAEMON}.conf -d ${APACHE_ETC_DIR}"
APACHE_ARGUMENTS=-f ${APACHE_ETC_DIR}/${APACHE_DAEMON}.conf -d ${APACHE_ETC_DIR}
## The locale used by some modules like mod_dav
LANG=C
# Export variables if possible - may be ignored on systemd without proper shell
#export APACHE_DAEMON
#export APACHE_SUFFIX
#export APACHE_RUN_USER
#export APACHE_RUN_GROUP
#export APACHE_PID_FILE
#export APACHE_RUN_DIR
#export APACHE_LOCK_DIR
#export APACHE_LOG_DIR
#export APACHE_ETC_DIR
#export APACHE_ARGUMENTS
#export LANG
## The command to get the status for 'apache(2)?ctl status'.
## Some packages providing 'www-browser' need '--dump' instead of '-dump'.
#export APACHE_LYNX='www-browser -dump'