Untitled diff

Created Diff never expires
21 removals
Lines
Total
Removed
Words
Total
Removed
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
29 lines
7 additions
Lines
Total
Added
Words
Total
Added
To continue using this feature, upgrade to
Diffchecker logo
Diffchecker Pro
15 lines
# It is not recommended to modify this file in-place, because it will be
# overwritten during package upgrades. If you want to customize, the best
# way is to use the "systemctl edit" command to create an override unit.

# For example, to pass additional options (for instance, -D
# definitions) to the httpd binary at startup, create an override unit
# (as is done by systemctl edit) and enter the following:

# [Service]
# Environment=OPTIONS=-DMY_DEFINE

[Unit]
[Unit]
Description=The Apache HTTP Server
Description=Apache Web Server
After=network.target remote-fs.target nss-lookup.target
After=network.target remote-fs.target nss-lookup.target


[Service]
[Service]
Type=notify
Type=simple
Environment=LANG=C
ExecStart=/usr/bin/httpd -k start -DFOREGROUND

ExecStop=/usr/bin/httpd -k graceful-stop
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
ExecReload=/usr/bin/httpd -k graceful
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
# Send SIGWINCH for graceful stop
KillSignal=SIGWINCH
KillMode=mixed
PrivateTmp=true
PrivateTmp=true
LimitNOFILE=infinity
KillMode=mixed


[Install]
[Install]
WantedBy=multi-user.target
WantedBy=multi-user.target