Lines 208-213
subst 's,%_bindir/systemctl,/bin/systemctl,' %buildroot%_sbindir/*-dirsrv
Link Here
|
208 |
echo "Upgrading 389-ds < 1.2.10.0, manual Offline upgrade is required! |
208 |
echo "Upgrading 389-ds < 1.2.10.0, manual Offline upgrade is required! |
209 |
Turn 389-ds off and make 'setup-ds -u' then" |
209 |
Turn 389-ds off and make 'setup-ds -u' then" |
210 |
|
210 |
|
|
|
211 |
%pre |
212 |
%define _dirsrv_user dirsrv |
213 |
%define _dirsrv_group dirsrv |
214 |
%define _dirsrv_home %_localstatedir/dirsrv |
215 |
/usr/sbin/groupadd -r -f %_dirsrv_group ||: |
216 |
/usr/sbin/useradd -g %_dirsrv_group -c 'user for 389-ds-base' \ |
217 |
-d %_dirsrv_home -s /sbin/nologin -r %_dirsrv_user \ |
218 |
> /dev/null 2>&1 ||: |
219 |
|
211 |
%post |
220 |
%post |
212 |
%post_service %pkgname |
221 |
%post_service %pkgname |
213 |
%post_service %pkgname-snmp |
222 |
%post_service %pkgname-snmp |