Files
rpmbuilder/rpms/stalwart/resources/stalwart.service
T
unkinben 07a75008a1
Build / build-8 (pull_request) Successful in 12s
Build / build-9 (pull_request) Successful in 13s
fix: precommit fix all
- run pre-commit against all files
- preparation for running pre-commit in ci
2026-03-07 12:28:20 +11:00

26 lines
513 B
Desktop File

[Unit]
Description=Stalwart Mail Server
After=network.target
[Service]
Type=simple
User=stalwart
Group=stalwart
ExecStart=/opt/stalwart/bin/stalwart --config=/opt/stalwart/etc/config.toml
Restart=always
RestartSec=10
StandardOutput=journal
StandardError=journal
SyslogIdentifier=stalwart
# Security settings
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=strict
ReadWritePaths=/var/lib/stalwart /var/log/stalwart /opt/stalwart/data
[Install]
WantedBy=multi-user.target