summaryrefslogtreecommitdiff
path: root/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1
diff options
context:
space:
mode:
Diffstat (limited to 'mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1')
-rw-r--r--mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r117
1 files changed, 17 insertions, 0 deletions
diff --git a/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1 b/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1
new file mode 100644
index 00000000..8dd89802
--- /dev/null
+++ b/mail-mta/proton-mail-bridge/files/proton-mail-bridge.service-r1
@@ -0,0 +1,17 @@
+[Unit]
+Description=Proton Mail IMAP/SMTP bridge
+Documentation=https://proton.me/mail/bridge/
+
+[Service]
+ExecStart=/usr/bin/proton-mail-bridge --noninteractive
+Restart=on-failure
+
+# Hardening
+ProtectSystem=full
+PrivateTmp=true
+SystemCallArchitectures=native
+MemoryDenyWriteExecute=true
+NoNewPrivileges=true
+
+[Install]
+WantedBy=default.target