summarylogtreecommitdiffstats
path: root/courier-pop3d-ssl.service
diff options
context:
space:
mode:
Diffstat (limited to 'courier-pop3d-ssl.service')
-rw-r--r--courier-pop3d-ssl.service3
1 files changed, 3 insertions, 0 deletions
diff --git a/courier-pop3d-ssl.service b/courier-pop3d-ssl.service
index ef1a623e3a2c..3cfde53ac889 100644
--- a/courier-pop3d-ssl.service
+++ b/courier-pop3d-ssl.service
@@ -5,10 +5,13 @@ After=authdaemond.service
[Service]
Type=forking
+User=courier
+Group=courier
EnvironmentFile=/etc/courier-imap/pop3d
ExecStart=/usr/lib/courier-imap/pop3d-ssl.rc start
ExecStop=/usr/lib/courier-imap/pop3d-ssl.rc stop
PIDFile=/var/run/courier/pop3d-ssl.pid
+AmbientCapabilities=CAP_NET_BIND_SERVICE CAP_SETGID CAP_SETUID
[Install]
WantedBy=multi-user.target