From 90600855224cde9f6a02d937fd1a9046ae0a829a Mon Sep 17 00:00:00 2001 From: Matt Birkholz Date: Sat, 9 Mar 2024 10:31:39 -0600 Subject: [PATCH] Moderate fetchmail dependencies to avoid hard fails. --- README.org | 4 ++-- roles_t/core/tasks/main.yml | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) 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 }} -- 2.25.1