22 lines
401 B
SYSTEMD
22 lines
401 B
SYSTEMD
|
[Unit]
|
||
|
Description=Koozali SME Server ldap.init
|
||
|
After=syslog.target network-online.target ldap.service
|
||
|
|
||
|
[Service]
|
||
|
Type=forking
|
||
|
Restart=no
|
||
|
TimeoutSec=5min
|
||
|
IgnoreSIGPIPE=no
|
||
|
KillMode=process
|
||
|
GuessMainPID=no
|
||
|
RemainAfterExit=yes
|
||
|
ExecStartPre=/sbin/e-smith/service-status ldap.init
|
||
|
ExecStart=/etc/rc.d/init.d/ldap.init start
|
||
|
ExecStop=/etc/rc.d/init.d/ldap.init stop
|
||
|
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=sme-server.target
|
||
|
|
||
|
|