xmpp.chapril.org-ejabberd/ejabberd.service.template

19 lines
318 B
Plaintext
Raw Normal View History

2015-02-23 15:52:18 +01:00
[Unit]
Description=XMPP Server
After=network.target
[Service]
Type=forking
2015-02-23 15:52:18 +01:00
User=ejabberd
Group=ejabberd
LimitNOFILE=65536
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
PrivateDevices=true
ProtectSystem=full
2015-02-23 15:52:18 +01:00
[Install]
WantedBy=multi-user.target