Andrew Wafaa wrote:
My spec file has: %pre #Add the bongo user & group /usr/sbin/groupadd -r bongo 2> /dev/null || : /usr/sbin/useradd -r -g bongo -s /bin/false -c "Bongo Mail daemon" -d /etc/bongo bongo 2> /dev/null || :
%post #Ensure that the data directory has the correct ownership permissions chown -R bongo /var/bongo %fillup_only bongo
%preun %{stop_on_removal} bongo
%postun %{insserv_cleanup}
And actually, it is also missing %{restart_on_update} bongo in %pre script. And %post should probably use %{fillup_and_insserv} (syntax depends, whether you have init script and sysconfig or only init script). -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@suse.cz Lihovarská 1060/12 tel: +420 284 028 966, +49 911 740538747 190 00 Praha 9 fax: +420 284 028 951 Czech Republic http://www.suse.cz/ -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org