[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: systemd service and /etc/default/



Am 17.08.2014 11:38, schrieb Thomas Goirand:

> How about teaching systemd that script is sometimes necessary? It's
> annoying to write a wrapper, because then, it does a fork to start the
> daemon, so the PID changes. Has this been reported upstream? If yes,
> what's upstream opinion about it?

I don't get your point.
You can start a wrapper script and as a last step use

exec $mydaemon

That just works. If not, can you elaborate what your problem is?


But yeah, such wrapper scripts should be avoided if possible and native
mechanisms used.




-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

Attachment: signature.asc
Description: OpenPGP digital signature


Reply to: