summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConrad Kostecki <conikost@gentoo.org>2020-10-23 17:44:11 +0200
committerConrad Kostecki <conikost@gentoo.org>2020-10-23 17:44:11 +0200
commita7c01843ba339d47ec244309c2d343ebf6b65b28 (patch)
tree52feaed15ff7277e8cad86cfe5da55b728aea1a7 /net-im/prosody/files
parentsys-apps/ipmicfg: fix SRC_URI (diff)
downloadgentoo-a7c01843ba339d47ec244309c2d343ebf6b65b28.tar.gz
gentoo-a7c01843ba339d47ec244309c2d343ebf6b65b28.tar.bz2
gentoo-a7c01843ba339d47ec244309c2d343ebf6b65b28.zip
net-im/prosody: fix systemd unit
Closes: https://bugs.gentoo.org/750539 Package-Manager: Portage-3.0.8, Repoman-3.0.2 Signed-off-by: Conrad Kostecki <conikost@gentoo.org>
Diffstat (limited to 'net-im/prosody/files')
-rw-r--r--net-im/prosody/files/prosody.service-r213
1 files changed, 13 insertions, 0 deletions
diff --git a/net-im/prosody/files/prosody.service-r2 b/net-im/prosody/files/prosody.service-r2
new file mode 100644
index 000000000000..81408beefe53
--- /dev/null
+++ b/net-im/prosody/files/prosody.service-r2
@@ -0,0 +1,13 @@
+[Unit]
+Description=Prosody XMPP server
+After=network.target
+
+[Service]
+Group=jabber
+PIDFile=/run/jabber/prosody.pid
+ExecStart=/usr/bin/prosody
+ExecReload=/bin/kill -HUP $MAINPID
+User=jabber
+
+[Install]
+WantedBy=multi-user.target