On Fri, Oct 02, 2009 at 02:23:28PM +0200, Stefan Schubert wrote:
Hi, we have a WebYaST plugin called "status" which will be installed via an own RPM (yast2-webservice-status). This plugin requires a running service collectd (package collectd). So how is the correct way to enable and start collectd while installing yast2-webservice-status. My first assumption was:
File: yast2-webservice-status.spec:
PreReq: collectd
%post # # enable and start collectd # insserv -f collectd /etc/init.d/collectd start
Is this the correct way, or not ?
No. See: http://forgeftp.novell.com/susesdk/docs/SUSE%20Package%20Conventions/spc_rpm... %fillup_and_insserv, option -y Ciao, Marcus -- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org