aboutsummaryrefslogtreecommitdiff
path: root/ejabberd.service.template
blob: ff159f85c14e65e0d9b23e89b5e3bd9e40b0bcca (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
[Unit]
Description=XMPP Server
After=network.target

[Service]
Type=forking
User=ejabberd
Group=ejabberd
LimitNOFILE=16000
Restart=on-failure
RestartSec=5
ExecStart=@ctlscriptpath@/ejabberdctl start
ExecStop=@ctlscriptpath@/ejabberdctl stop
ExecReload=@ctlscriptpath@/ejabberdctl reload_config
PrivateDevices=true
ProtectSystem=full

[Install]
WantedBy=multi-user.target