mirror of
https://github.com/stalwartlabs/mail-server.git
synced 2025-01-08 00:37:45 +08:00
21 lines
502 B
Desktop File
21 lines
502 B
Desktop File
[Unit]
|
|
Description=Stalwart __TITLE__ Server
|
|
Conflicts=postfix.service sendmail.service exim4.service
|
|
ConditionPathExists=__PATH__/etc/config.toml
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
LimitNOFILE=65536
|
|
KillMode=process
|
|
KillSignal=SIGINT
|
|
Restart=on-failure
|
|
RestartSec=5
|
|
ExecStart=__PATH__/bin/stalwart-__NAME__ --config=__PATH__/etc/config.toml
|
|
PermissionsStartOnly=true
|
|
StandardOutput=syslog
|
|
StandardError=syslog
|
|
SyslogIdentifier=stalwart-__NAME__
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|