On 23.09.2015 12:49, Moritz Muehlenhoff wrote:
> On Wed, Sep 23, 2015 at 12:47:09PM +0200, Sven Hartge wrote:
>>> - It doesn't abide options set in /etc/default/ferm
>>
>> As far as I understand the systemd way-of-things, simple default-files
>> which just disable and enable a service are deprecated. One should just
>> disable or enable the service directly.
> 
> That's true for ENABLED, but we'd probably still need CACHE, OPTIONS and
> FAST. They could be sourced via a "EnvironmentFile" directive.

OPTIONS is easy, it can be included verbatim.

But FAST is defined as either "yes" or "no" while the resulting option
to ferm is "--fast" (or nothing as --fast is the default) or "--slow". I
guess this would need some helper script or change the ExecStart and
ExecReload lines to use "/bin/bash" to be able to manipulate variables.

And CACHE is a whole different thing.

Grüße,
Sven.




Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to