17 lines
382 B
SYSTEMD
17 lines
382 B
SYSTEMD
|
[Unit]
|
||
|
Description=The Apache HTTP Server
|
||
|
After=network.target remote-fs.target nss-lookup.target
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Environment=LANG=C
|
||
|
PIDFile=/run/httpd/httpd.pid
|
||
|
ExecStart=/usr/sbin/apachectl start $OPTIONS
|
||
|
ExecStop=/usr/sbin/apachectl graceful-stop
|
||
|
ExecReload=/usr/sbin/apachectl graceful $OPTIONS
|
||
|
PrivateTmp=true
|
||
|
LimitNOFILE=infinity
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|