initial commit of file from CVS for smeserver-isoqlog on Sat Sep 7 20:28:56 AEST 2024

This commit is contained in:
Trevor Batley
2024-09-07 20:28:56 +10:00
parent c487e19171
commit 4be04aa921
34 changed files with 1249 additions and 2 deletions

View File

@@ -0,0 +1,25 @@
[Unit]
Description=httpd-isoqlog The Koozali SME Server isoqlog web service
After=network.target remote-fs.target
Documentation=man:httpd(8)
Documentation=man:apachectl(8)
[Service]
Type=notify
EnvironmentFile=/etc/sysconfig/httpd
ExecStartPre=/sbin/e-smith/service-status httpd-isoqlog
ExecStartPre=/sbin/e-smith/expand-template /etc/httpd/isoqlog-conf/httpd.conf
ExecStart=/usr/sbin/httpd -f /etc/httpd/isoqlog-conf/httpd.conf -DFOREGROUND
ExecReload=/usr/sbin/httpd -f /etc/httpd/isoqlog-conf/httpd.conf -k graceful
ExecStop=/bin/kill -WINCH ${MAINPID}
# We want systemd to give httpd some time to finish gracefully, but still want
# it to kill httpd after TimeoutStopSec if something went wrong during the
# graceful stop. Normally, Systemd sends SIGTERM signal right after the
# ExecStop, which would kill httpd. We are sending useless SIGCONT here to give
# httpd time to finish.
KillSignal=SIGCONT
PrivateTmp=true
[Install]
WantedBy=sme-server.target