[Unit]
Description=LibreSchool PXEServer httpd instance
After=network.target remote-fs.target nss-lookup.target

[Service]
Type=simple
EnvironmentFile=/etc/sysconfig/pxeserver-httpd
ExecStart=/usr/sbin/httpd -f /etc/httpd/pxeserver-httpd/httpd.conf -c 'MaxConnectionsPerChild 12' -DFOREGROUND
ExecReload=/usr/sbin/httpd -f /etc/httpd/pxeserver-httpd/httpd.conf -k graceful
LimitNOFILE=4096
KillMode=process

[Install]
WantedBy=multi-user.target