Moderate fetchmail dependencies to avoid hard fails.
authorMatt Birkholz <matt@birchwood-abbey.net>
Sat, 9 Mar 2024 16:31:39 +0000 (10:31 -0600)
committerMatt Birkholz <matt@birchwood-abbey.net>
Sat, 9 Mar 2024 16:31:39 +0000 (10:31 -0600)
README.org
roles_t/core/tasks/main.yml

index cd04412e5126d2168f04b53484236c2bafea30cb..63eb954284371492caf4a298d75faa7f39c629ac 100644 (file)
@@ -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 }}
index d36cea08ea2e637c54da6e87a94d5087be6c2b04..19acbd49a03e7911b6d8238ba84b311e668ace97 100644 (file)
       [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 }}