mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-18 18:42:56 +02:00
22 lines
538 B
Django/Jinja
22 lines
538 B
Django/Jinja
[Unit]
|
|
Description=Stalwart Mail Server
|
|
Conflicts=postfix.service sendmail.service exim4.service
|
|
ConditionPathExists={{ stalwart_config_file_path }}
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
LimitNOFILE=65536
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
ExecStart={{ stalwart_executable_path }} --config={{ stalwart_config_file_path }}
|
|
SyslogIdentifier=stalwart
|
|
User={{ stalwart_system_user }}
|
|
Group={{ stalwart_system_group }}
|
|
AmbientCapabilities=CAP_NET_BIND_SERVICE
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|