2015-02-23 15:52:18 +01:00
|
|
|
[Unit]
|
|
|
|
Description=XMPP Server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
2016-10-19 23:32:07 +02:00
|
|
|
Type=forking
|
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
|
2016-03-24 11:06:42 +01:00
|
|
|
ExecStart=@ctlscriptpath@/ejabberdctl start
|
2015-02-23 15:52:18 +01:00
|
|
|
ExecStop=@ctlscriptpath@/ejabberdctl stop
|
2016-06-28 23:02:41 +02:00
|
|
|
PrivateDevices=true
|
|
|
|
ProtectSystem=full
|
2015-02-23 15:52:18 +01:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|