projects
/
vpproxy.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
c5401ae
)
Добавлен юнит для systemd
master
author
Roman Bazalevsky
<rvb@rvb.name>
Thu, 19 May 2016 17:10:00 +0000
(20:10 +0300)
committer
Roman Bazalevsky
<rvb@rvb.name>
Thu, 19 May 2016 17:10:00 +0000
(20:10 +0300)
systemd/vpproxy.service
[new file with mode: 0644]
patch
|
blob
diff --git a/systemd/vpproxy.service
b/systemd/vpproxy.service
new file mode 100644
(file)
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