initial commit of file from CVS for smeserver-phpki-ng on Sat Sep 7 20:50:40 AEST 2024
This commit is contained in:
9
root/usr/lib/systemd/system/httpd-pki.service
Normal file
9
root/usr/lib/systemd/system/httpd-pki.service
Normal file
@@ -0,0 +1,9 @@
|
||||
[Unit]
|
||||
Description=Certificate management
|
||||
After=network.service
|
||||
[Service]
|
||||
Type=forking
|
||||
ExecStart=/usr/sbin/systemd/httpd-pki
|
||||
[Install]
|
||||
WantedBy=sme-server.target
|
||||
|
12
root/usr/sbin/systemd/httpd-pki
Normal file
12
root/usr/sbin/systemd/httpd-pki
Normal file
@@ -0,0 +1,12 @@
|
||||
#!/bin/sh
|
||||
#----------------------------------------------------------------------
|
||||
# copyright (C) 1999-2004 Mitel Networks Corporation
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
config=/etc/httpd/pki-conf/httpd.conf
|
||||
|
||||
[ -e $config ] || exit 1
|
||||
|
||||
exec 2>&1
|
||||
exec chpst -P /usr/sbin/httpd -f $config -D FOREGROUND &
|
||||
|
Reference in New Issue
Block a user