summarylogtreecommitdiffstats
path: root/prosody.service
blob: 5f5a65aeeec8fab4aa53865d1543dd7f9343c176 (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
25
26
27
28
29
[Unit]
Description=XMPP (Jabber) Server
After=network.target
Documentation=https://prosody.im/doc
Documentation=https://wiki.archlinux.org/index.php/Prosody

[Service]
Type=simple
ExecStart=/usr/bin/prosody -F
ExecReload=/bin/kill -HUP $MAINPID
Restart=on-abnormal
PIDFile=/run/prosody/prosody.pid
User=prosody
Group=prosody
UMask=0027

RuntimeDirectory=prosody
ConfigurationDirectory=prosody
StateDirectory=prosody
StateDirectoryMode=0750
LogsDirectory=prosody
WorkingDirectory=~
StandardInput=null
StandardOutput=journal
StandardError=inherit
AmbientCapabilities=CAP_NET_BIND_SERVICE

[Install]
WantedBy=multi-user.target