2015-02-23 15:52:18 +01:00
|
|
|
[Unit]
|
|
|
|
Description=XMPP Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2021-01-06 00:20:12 +01:00
|
|
|
Type=notify
|
2015-02-23 15:52:18 +01:00
|
|
|
User=ejabberd
|
|
|
|
Group=ejabberd
|
2016-10-20 00:12:02 +02:00
|
|
|
LimitNOFILE=65536
|
2016-10-19 23:35:22 +02:00
|
|
|
Restart=on-failure
|
2015-02-23 15:52:18 +01:00
|
|
|
RestartSec=5
|
2021-01-06 00:20:12 +01:00
|
|
|
WatchdogSec=30
|
2020-11-19 20:43:51 +01:00
|
|
|
ExecStart=@ctlscriptpath@/ejabberdctl foreground
|
2016-10-20 00:27:50 +02:00
|
|
|
ExecStop=/bin/sh -c '@ctlscriptpath@/ejabberdctl stop && @ctlscriptpath@/ejabberdctl stopped'
|
2017-02-23 18:16:56 +01:00
|
|
|
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
|
2021-01-06 00:20:12 +01:00
|
|
|
NotifyAccess=all
|
2016-06-28 23:02:41 +02:00
|
|
|
PrivateDevices=true
|
2018-06-07 17:40:05 +02:00
|
|
|
TimeoutSec=300
|
2015-02-23 15:52:18 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|