1 |
# $Id: e-smith-ldap.spec,v 1.20 2022/11/22 19:28:40 jpp Exp $ |
# $Id: e-smith-ldap.spec,v 1.21 2023/02/06 05:26:53 jpp Exp $ |
2 |
|
|
3 |
Summary: e-smith server and gateway - LDAP module |
Summary: e-smith server and gateway - LDAP module |
4 |
%define name e-smith-ldap |
%define name e-smith-ldap |
1101 |
%defattr(-,root,root) |
%defattr(-,root,root) |
1102 |
|
|
1103 |
%pre |
%pre |
1104 |
|
if [ -l /etc/systemd/system/slapd.service ] ; then |
1105 |
|
/usr/bin/unlink /etc/systemd/system/slapd.service |
1106 |
|
fi |
1107 |
if [ $1 -gt 1 ] ; then |
if [ $1 -gt 1 ] ; then |
1108 |
if [ -e /var/service/ldap/run ] ; then |
if [ -e /var/service/ldap/run ] ; then |
1109 |
/usr/bin/sv d ldap |
/usr/bin/sv d ldap |