summarylogtreecommitdiffstats
path: root/ejabberd.service
blob: 0b574492d081cd56b78a246dbc8c1e4dda076000 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
[Unit]
Description=A distributed, fault-tolerant Jabber/XMPP server
After=epmd.service network.target
Requires=epmd.service

[Service]
Type=forking
User=jabber
Group=jabber
LimitNOFILE=16000
RestartSec=5
ExecStart=/usr/bin/ejabberdctl start
ExecStop=/usr/bin/ejabberdctl stop
ExecReload=/usr/bin/ejabberdctl reload_config
Restart=on-failure
CapabilityBoundingSet=CAP_DAC_OVERRIDE
PrivateTmp=true
PrivateDevices=true
ProtectHome=true
ProtectSystem=full
NoNewPrivileges=true

[Install]
WantedBy=multi-user.target