From: Matt Birkholz Date: Sat, 9 Mar 2024 16:31:39 +0000 (-0600) Subject: Moderate fetchmail dependencies to avoid hard fails. X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=90600855224cde9f6a02d937fd1a9046ae0a829a;p=Institute Moderate fetchmail dependencies to avoid hard fails. --- diff --git a/README.org b/README.org index cd04412..63eb954 100644 --- a/README.org +++ b/README.org @@ -3270,8 +3270,8 @@ The Systemd service description. [Unit] Description=Fetchmail --idle task for {{ item }}. AssertPathExists=/home/{{ item }}/.fetchmailrc -Requires=sys-devices-virtual-net-ovpn.device -After=sys-devices-virtual-net-ovpn.device +After=openvpn@front.service +Wants=sys-devices-virtual-net-ovpn.device [Service] User={{ item }} diff --git a/roles_t/core/tasks/main.yml b/roles_t/core/tasks/main.yml index d36cea0..19acbd4 100644 --- a/roles_t/core/tasks/main.yml +++ b/roles_t/core/tasks/main.yml @@ -411,8 +411,8 @@ [Unit] Description=Fetchmail --idle task for {{ item }}. AssertPathExists=/home/{{ item }}/.fetchmailrc - Requires=sys-devices-virtual-net-ovpn.device - After=sys-devices-virtual-net-ovpn.device + After=openvpn@front.service + Wants=sys-devices-virtual-net-ovpn.device [Service] User={{ item }}