dotfiles/.config/systemd/user/protonmail-bridge.service
2024-06-11 11:47:07 +02:00

26 lines
556 B
Desktop File

[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