Changed apache::sslserver to use systemd on Fedora.
This commit is contained in:
parent
2758fb1a35
commit
77decd746e
2 changed files with 36 additions and 7 deletions
15
apache/files/httpsd.service
Normal file
15
apache/files/httpsd.service
Normal file
|
@ -0,0 +1,15 @@
|
|||
[Unit]
|
||||
Description=The Apache HTTP Server (prefork MPM)
|
||||
After=syslog.target network.target remote-fs.target nss-lookup.target
|
||||
|
||||
[Service]
|
||||
Type=forking
|
||||
PIDFile=/var/run/httpd/httpsd.pid
|
||||
EnvironmentFile=/etc/sysconfig/httpsd
|
||||
ExecStart=/usr/sbin/httpsd -f /etc/httpd/conf/httpsd.conf $OPTIONS -k start
|
||||
ExecReload=/usr/sbin/httpsd -f /etc/httpd/conf/httpsd.conf $OPTIONS -t
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
ExecStop=/usr/sbin/httpsd -f /etc/httpd/conf/httpsd.conf $OPTIONS -k stop
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Add a link
Reference in a new issue