summarylogtreecommitdiffstats
path: root/videoserverd.service
diff options
context:
space:
mode:
authorKonstantin Shalygin2015-06-08 19:42:15 +0600
committerKonstantin Shalygin2015-06-08 19:42:15 +0600
commit80bd909bc77d868f80a4e4a64001e81dfa112aa6 (patch)
tree184be7d999b5119e8702d57fbee6abd5b5160806 /videoserverd.service
downloadaur-80bd909bc77d868f80a4e4a64001e81dfa112aa6.tar.gz
Initial commit
Diffstat (limited to 'videoserverd.service')
-rw-r--r--videoserverd.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/videoserverd.service b/videoserverd.service
new file mode 100644
index 000000000000..3a0c2f7639d2
--- /dev/null
+++ b/videoserverd.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Ivideon Videoserverd
+After=network.target
+Requires=network.target
+
+[Service]
+Type=forking
+PIDFile=/tmp/videoserverd.pid
+ExecStart=/opt/ivideon/ivideon-server/auto_respawn -d -w /var/log/videoserverd -u videoserverd -p /tmp/videoserverd.pid /opt/ivideon/ivideon-server/videoserver -c /etc/videoserverd.conf
+ExecStop=/opt/ivideon/ivideon-server/auto_respawn -K 5 -p $MAINPID
+
+[Install]
+WantedBy=multi-user.target