summaryrefslogtreecommitdiffstats
path: root/packages/net-im/ejabberd/files/systemd/ejabberd.service
diff options
context:
space:
mode:
Diffstat (limited to 'packages/net-im/ejabberd/files/systemd/ejabberd.service')
-rw-r--r--packages/net-im/ejabberd/files/systemd/ejabberd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/net-im/ejabberd/files/systemd/ejabberd.service b/packages/net-im/ejabberd/files/systemd/ejabberd.service
new file mode 100644
index 0000000..87aa469
--- /dev/null
+++ b/packages/net-im/ejabberd/files/systemd/ejabberd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=eJabberd
+After=network.target
+
+[Service]
+Type=forking
+User=ejabberd
+ExecStart=/usr/sbin/ejabberdctl start
+ExecStop=/usr/sbin/ejabberdctl stop
+
+[Install]
+WantedBy=multi-user.target