From: Roman Bazalevsky Date: Thu, 19 May 2016 17:10:00 +0000 (+0300) Subject: Добавлен юнит для systemd X-Git-Url: https://git.rvb.name/vpproxy.git/commitdiff_plain/db69bdf8a7d5d345009f548b72c4a2ae40c565cc?ds=inline;hp=c5401ae7940c77b3f65eaccfee8493c61478b579 Добавлен юнит для systemd --- 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