Systemd unit file implementation questions (ypbind)

Michal Hlavinka mhlavink at redhat.com
Thu Apr 14 10:55:20 UTC 2011


On Thursday, April 14, 2011 09:54:59 Jóhann B. Guðmundsson wrote:
> 
> > Is there a good solution for this?
> 
> Which service ( file ) is this.
> 
> I can take a look at to see which way is best to approach it.

It's package nut : /etc/init.d/ups, there are 3 services: driver, upsd and upsmon.
All three services usually run on the same machine, but it's not the only use case.
There is going to be slight change for yet another use case. 
Better not to get inspired by init script, but think about situation where there are
three services and some/all of them should be started based on variable in config 
file (so existing configuration works).


More information about the devel mailing list