altarch-user / rpms / httpd

Forked from rpms/httpd 2 years ago
Clone
e71654
# See httpd.service(8) for more information on using the httpd service.
e71654
e71654
# Modifying this file in-place is not recommended, because changes
e71654
# will be overwritten during package upgrades.  To customize the
e71654
# behaviour, run "systemctl edit httpd" to create an override unit.
e71654
e71654
# For example, to pass additional options (such as -D definitions) to
e71654
# the httpd binary at startup, create an override unit (as is done by
e71654
# systemctl edit) and enter the following:
e71654
e71654
#	[Service]
e71654
#	Environment=OPTIONS=-DMY_DEFINE
e71654
e71654
[Unit]
e71654
Description=The Apache HTTP Server
e71654
Wants=httpd-init.service
e71654
After=network.target remote-fs.target nss-lookup.target httpd-init.service
e71654
Documentation=man:httpd.service(8)
e71654
e71654
[Service]
e71654
Type=notify
e71654
Environment=LANG=C
e71654
e71654
ExecStart=/usr/sbin/httpd $OPTIONS -DFOREGROUND
e71654
ExecReload=/usr/sbin/httpd $OPTIONS -k graceful
e71654
# Send SIGWINCH for graceful stop
e71654
KillSignal=SIGWINCH
e71654
KillMode=mixed
e71654
PrivateTmp=true
e71654
e71654
[Install]
e71654
WantedBy=multi-user.target