Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mrDoctorWho/vk4xmpp.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitaliy Tomin <highwaystar.ru@gmail.com>2013-10-31 10:35:50 +0400
committerVitaliy Tomin <highwaystar.ru@gmail.com>2013-10-31 10:35:50 +0400
commitd8c85635e6d979b785dbdfe5c431312732776462 (patch)
tree99f915fe4dc653bca5538a87d1a9274f7e7eeef7 /systemd
parent993d5377cf83aa5b6a37afa22f7dedc33874ee36 (diff)
Example unit file for systemd added
Diffstat (limited to 'systemd')
-rw-r--r--systemd/vk4xmpp.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/systemd/vk4xmpp.service b/systemd/vk4xmpp.service
new file mode 100644
index 0000000..48d10f3
--- /dev/null
+++ b/systemd/vk4xmpp.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=VK4XMPP is an Vk.com transport for Jabber/XMPP
+[Service]
+Type=simple
+PIDFile=/usr/share/vk4xmpp/pidFile.txt
+ExecStart=/usr/bin/python /usr/share/vk4xmpp/gateway.py
+User=nobody
+Group=nobody
+
+[Install]
+WantedBy=multi-user.target