mirror of
https://github.com/rubenhensen/k8scd.git
synced 2026-09-19 11:02:55 +02:00
Ansible config for hetzner mailserver
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user