[PATCH 1/1] make the systemd unit example more general

Christian Hesse list at eworm.de
Thu Dec 8 12:33:43 CET 2016


"Jason A. Donenfeld" <Jason at zx2c4.com> on Thu, 2016/12/08 12:18:
> I like this, but two questions.
> 
> 1. Why did you get rid of the ExecStop config saving line?

I do not like units altering configuration. If you want to save configuration
on stop create a second unit with correct dependencies an ordering that
writes the configuration.

> 2. You're not planning to actually package this unit file, are you?

Not sure about that. :-p At least I left it in examples directory. ;)

In first place this is a RFC. Nevertheless we should polish things a bit and
provide a usable systemd unit.

I still do not like to have two files that hold the settings... But no idea
how to get rid of that in a clean way. Having shell code in a systemd unit is
even worse...
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Best regards             my address:    */=0;b=c[a++];)
putchar(b-1/(/*    Chris            cc -ox -xc - && ./x    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <http://lists.zx2c4.com/pipermail/wireguard/attachments/20161208/9c90f36a/attachment.asc>


More information about the WireGuard mailing list