summarylogtreecommitdiffstats
path: root/protonmail-bridge.service
blob: d728a5e2fa91bff76443ccbb2bd9597f0137c34a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
[Unit]
Description=ProtonMail Bridge - ProtonMail IMAP and SMTP Bridge
After=network.target

[Service]
Type=simple
ExecStart=/usr/bin/protonmail-bridge-core --noninteractive
Restart=always
KillMode=process

# Hardening
PrivateTmp=true
# ProtectHome=true
ProtectSystem=full
NoNewPrivileges=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
PrivateDevices=true
# RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictNamespaces=true
RestrictRealtime=true
SystemCallArchitectures=native

[Install]
WantedBy=default.target