summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJannis M. Hoffmann <jannis@fehcom.de>2024-11-17 17:55:58 +0100
committerJannis M. Hoffmann <jannis@fehcom.de>2024-11-17 17:55:58 +0100
commitf1cfca6abd8a3db74c3c737fe1d950c4f3011992 (patch)
tree8b3c0567291d6124911c6421d24759820af3b0f8
parentf21f24f442e05fa452adac177cd0ba696e5f2c8f (diff)
use systemd service type notify instead of simple
-rw-r--r--script/jwebmail.service.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/script/jwebmail.service.in b/script/jwebmail.service.in
index d080738..430e517 100644
--- a/script/jwebmail.service.in
+++ b/script/jwebmail.service.in
@@ -1,10 +1,10 @@
[Unit]
Description=JWebmail managed by gunicorn
After=network-online.target
-Requires=redis.service
[Service]
-Type=simple
+Type=notify
+NotifyAccess=main
User=jwebmail
RuntimeDirectory=jwebmail
Environment=JWEBMAIL_CONFIG="@CONFDIR@/jwebmail.toml"