about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorAlessio Sergi <al3hex@gmail.com>2014-07-31 13:07:31 +0200
committerAlessio Sergi <al3hex@gmail.com>2014-07-31 13:07:31 +0200
commit33ff0ee70ee71dff4763e04337f5afac6ae07a35 (patch)
tree6d9aad03e9006db44a01d13c393f71988a8aa82a /services
parent893e10f09c4c0a4d9a3fd44957050b63a5865dca (diff)
downloadrunit-void-33ff0ee70ee71dff4763e04337f5afac6ae07a35.tar.gz
runit-void-33ff0ee70ee71dff4763e04337f5afac6ae07a35.tar.xz
runit-void-33ff0ee70ee71dff4763e04337f5afac6ae07a35.zip
New service: docker
Diffstat (limited to 'services')
-rwxr-xr-xservices/docker/log/run2
l---------services/docker/log/supervise1
-rwxr-xr-xservices/docker/run2
l---------services/docker/supervise1
4 files changed, 6 insertions, 0 deletions
diff --git a/services/docker/log/run b/services/docker/log/run
new file mode 100755
index 0000000..4c6ff2c
--- /dev/null
+++ b/services/docker/log/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec logger -t docker
diff --git a/services/docker/log/supervise b/services/docker/log/supervise
new file mode 120000
index 0000000..e796c29
--- /dev/null
+++ b/services/docker/log/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.docker-log
\ No newline at end of file
diff --git a/services/docker/run b/services/docker/run
new file mode 100755
index 0000000..ec858ac
--- /dev/null
+++ b/services/docker/run
@@ -0,0 +1,2 @@
+#!/bin/sh
+exec chpst -o 1048576 -p 1048576 /usr/bin/docker -d 2>/dev/null
diff --git a/services/docker/supervise b/services/docker/supervise
new file mode 120000
index 0000000..0cfca89
--- /dev/null
+++ b/services/docker/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.docker
\ No newline at end of file