Create group 'printadmin' by default
This commit is contained in:
parent
f060e5d58a
commit
e4fb31f68b
@ -1049,6 +1049,9 @@ TDB_NO_FSYNC=1 make %{?_smp_mflags} test
|
||||
%systemd_postun_with_restart smb.service
|
||||
%systemd_postun_with_restart nmb.service
|
||||
|
||||
%pre common
|
||||
getent group printadmin >/dev/null || groupadd -r printadmin || :
|
||||
|
||||
%post common
|
||||
/sbin/ldconfig
|
||||
/usr/bin/systemd-tmpfiles --create %{_tmpfilesdir}/samba.conf
|
||||
|
Loading…
Reference in New Issue
Block a user