From db69bdf8a7d5d345009f548b72c4a2ae40c565cc Mon Sep 17 00:00:00 2001 From: Roman Bazalevsky Date: Thu, 19 May 2016 20:10:00 +0300 Subject: [PATCH] =?utf8?q?=D0=94=D0=BE=D0=B1=D0=B0=D0=B2=D0=BB=D0=B5=D0=BD?= =?utf8?q?=20=D1=8E=D0=BD=D0=B8=D1=82=20=D0=B4=D0=BB=D1=8F=20systemd?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- systemd/vpproxy.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 systemd/vpproxy.service diff --git a/systemd/vpproxy.service b/systemd/vpproxy.service new file mode 100644 index 0000000..77fae2b --- /dev/null +++ b/systemd/vpproxy.service @@ -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 -- 2.34.1