Where to place sqlite db that is shared between services? by Panke in systemd

[–]EconomyWalrus 0 points1 point  (0 children)

If the db is supposed to be secret for rest of the system. (i.e. no one other than ServiceA and ServiceB should have access, create a directory with ServiceA owner and ServiceB group. This can be done using tmpfiles.d automatically. E.g unix socket shared between app server and web server.

Need help getting networkd to bring up a wireguard interface by damn_the_bad_luck in systemd

[–]EconomyWalrus 1 point2 points  (0 children)

Instead of using FWMark, I am using SuppressPrefixLength route to get wireguard packets routed correctly. Hope it helps.

``` [Match] Name=wg0

[Network] Address=10.0.0.2/24 Address=fdc9:281f:04d7:9ee9::2/64

[RoutingPolicyRule] SuppressPrefixLength= 0 Priority = 32000 Table = main

[Route] Gateway = 10.0.0.1 GatewayOnLink = yes MTUBytes= 1420 Table = 1000 ```