On Aug 29, 2014, Loic Dachary <[email protected]> wrote:

> After a quick glance at the systemd man page 
> http://www.freedesktop.org/software/systemd/man/systemd.service.html#Options 
> it seems possible to do something like

>     https://github.com/dachary/ceph/compare/wip-systemd?expand=1

Yeah, it sure is possible in systemd to start and track daemons that
don't have a “run in foreground” option, but it's not as efficient.

> Alternatively, shouldn't systemctl kill [email protected] be the canonical 
> way of killing a process spawned by systemd ?

If you know what number to use after @, I guess it would.  I don't think
we're talking about the same version of ceph, when it comes to systemd
config files.  Your patch doesn't modify any file present on my system
(still running 0.80.5)

> If both are impractical or frowned upon for some reason, it looks like
> your patch is the only way to go, indeed.

It's certainly not the only way to go, but silently dropping a command
line option sounds like a bug to me.  Of course the patch I proposed
isn't the only way to go about that...

-- 
Alexandre Oliva, freedom fighter    http://FSFLA.org/~lxoliva/
You must be the change you wish to see in the world. -- Gandhi
Be Free! -- http://FSFLA.org/   FSF Latin America board member
Free Software Evangelist|Red Hat Brasil GNU Toolchain Engineer
--
To unsubscribe from this list: send the line "unsubscribe ceph-devel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to