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/HEAD?ds=sidebyside;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