On Thu, 5 Dec 2002, Rasjid Wilcox wrote: > On Tue, 3 Dec 2002 8:53 am, Charlie Brady wrote: > <snip> > > Yes, mailfront will be upgraded when SME is upgraded, but if it is marked > > as disabled it will stay marked as disabled. > > I presume the correct way is to disable smtpfront-qmail is > # /sbin/e-smith/db configuration setprop smtpfront-qmail status disabled
Correct. > What is the correct way to enable a new service? > > My guess is: > a) script or link in /etc/init.d/ > b) link in /etc/rc7.d to /etc/rc.d/init.d/e-smith-service > > Add a 'newservice=service|status|enabled' line in /home/e-smith/configuration, > with > # /sbin/e-smith/db configuration set zzzservice service status enabled Yes, looks right to me. > I notice that 26 of the service entries have an InitscriptOrder entry, and 22 > don't. Is it best to include one or not?? The depends on what version or versions you are writing to. InitscriptsOrder is now deprecated, and hasn't been necessary for some time. It's implicit in the rc7.d symlink which you create and include in the RPM. In earlier versions those symlinks were created during post-install and post-upgrade, so the property was needed. Since "e-smith-service" was written, we no longer need to add and delete the symlinks as services are enabled and disabled, so that the dynamic link creation/deletion is no longer required. -- Charlie Brady [EMAIL PROTECTED] Lead Product Developer Network Server Solutions Group Mitel Networks Corporation http://www.mitel.com/smallbusiness Phone: +1 (613) 592 5660 or 592 2122 Fax: +1 (613) 592 1175 -- Please report bugs to [EMAIL PROTECTED] Please mail [EMAIL PROTECTED] (only) to discuss security issues Support for registered customers and partners to [EMAIL PROTECTED] To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Searchable archive at http://www.mail-archive.com/devinfo%40lists.e-smith.org
