Добавлен юнит для systemd master
authorRoman Bazalevsky <rvb@rvb.name>
Thu, 19 May 2016 17:10:00 +0000 (20:10 +0300)
committerRoman Bazalevsky <rvb@rvb.name>
Thu, 19 May 2016 17:10:00 +0000 (20:10 +0300)
systemd/vpproxy.service [new file with mode: 0644]

diff --git a/systemd/vpproxy.service b/systemd/vpproxy.service
new file mode 100644 (file)
index 0000000..77fae2b
--- /dev/null
@@ -0,0 +1,15 @@
+[Unit]
+Description=Video Transcoding Proxy
+Requires=network.target
+After=network.target
+
+[Service]
+User=root
+Type=simple
+PIDFile=/var/run/vpproxy.pid
+ExecStart=/usr/local/bin/vpproxy
+Restart=always
+RestartSec=60s
+
+[Install]
+WantedBy=multi-user.target