From 448f66e8889c682c82decc26c47da58e74dba87c Mon Sep 17 00:00:00 2001
From: Thomas Schneider <thomas@fsmpi.rwth-aachen.de>
Date: Tue, 8 Mar 2022 21:32:29 +0100
Subject: [PATCH] nullmailer: Fix queue service installation

---
 nullmailer/files/nullmailer-queued.service | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/nullmailer/files/nullmailer-queued.service b/nullmailer/files/nullmailer-queued.service
index dc8daa7..ea17262 100644
--- a/nullmailer/files/nullmailer-queued.service
+++ b/nullmailer/files/nullmailer-queued.service
@@ -1,7 +1,6 @@
 [Unit]
 Description=Enqueueing facility for restricted clients of nullmailer
 After=networking.target
-Before=php-fpm@.service
 
 [Service]
 ExecStart=/usr/local/sbin/nullmailer-queued
@@ -11,3 +10,6 @@ ProtectSystem=strict
 ProtectControlGroups=yes
 ProtectHome=yes
 PrivateTmp=yes
+
+[Install]
+WantedBy=multi-user.target
-- 
GitLab