]] Marc Haber 

Hi,

| On Sun, 17 Jul 2011 13:54:14 +0200, Juliusz Chroboczek
| <j...@pps.jussieu.fr> wrote:
| >Systemd deprecates shell scripts
| 
| How is one supposed to handle the case where the configuration the
| daemon actually runs with needs to be generated, which is commonly
| done in the init script's start target?

(I don't think it's commonly done, but that's besides the point.)

You'd then call a wrapper script that generates the configuration, so in
that respect it would be quite similar to today.

Something like:

ExecStartPre=/usr/sbin/update-exim4.conf
ExecStart=/usr/sbin/exim4 -bd -q30m

should do what you want.

Cheers,
-- 
Tollef Fog Heen
UNIX is user friendly, it's just picky about who its friends are


-- 
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/87aac9gxgt....@qurzaw.varnish-software.com

Reply via email to