Files
RustBox/packaging/systemd/rustbox.service
T
Mateusz Gruszczyński bc5fbd6ba9
RustBox CI / rustbox (push) Waiting to run
first commit
2026-10-29 15:24:59 +01:00

31 lines
625 B
Desktop File

[Unit]
Description=RustBox webmail
After=network-online.target
Wants=network-online.target
[Service]
Type=simple
User=rustbox
Group=rustbox
Environment=RUSTBOX_CONFIG=/etc/rustbox/rustbox.toml
ExecStart=/usr/local/bin/rustbox
Restart=on-failure
RestartSec=3
StateDirectory=rustbox
UMask=0077
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
LockPersonality=true
MemoryDenyWriteExecute=true
[Install]
WantedBy=multi-user.target