[Unit]
Description=Kopano Groupware Core IMAP/POP3 Gateway
Documentation=man:kopano-gateway(8) man:kopano-gateway.cfg(5)
After=network.target

[Service]
Type=simple
ExecStart=/usr/sbin/kopano-gateway
ExecReload=/bin/kill -HUP $MAINPID
ProtectSystem=full
ProtectHome=yes
ProtectKernelTunables=yes
ProtectKernelModules=yes
ProtectControlGroups=yes
PrivateTmp=yes
MemoryDenyWriteExecute=yes
RestrictRealtime=yes
RestrictSUIDSGID=yes

[Install]
WantedBy=multi-user.target
