[systemd-devel] throw routes are getting removed when networkd is restarted

2021-12-21 Thread Robert Dahlem
Hi, I'm running on Debian Bullseye, systemd 247. StrongSwan 5.9.1 (an IPsec implementation) establishes throw routes in table 220 when activating the bypass-lan plugin. Basically that means: you have a VPN tunnel giving you a prioritized default route through the VPN gateway but you can still

[systemd-devel] Skip ExecStop after service end or failure

2020-12-20 Thread Robert Dahlem
Hi, is there a way to NOT run ExecStop, when a service started successfully, but ends later without being stopped? My scenario: I have an ExecStop that should only run after systemctl stop XXX.service which means: only when someone administratively shuts down the service. It must not