about summary refs log tree commit diff
path: root/services
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-08-17 09:56:02 +0200
committerJuan RP <xtraeme@gmail.com>2014-08-17 09:56:02 +0200
commita7c36f54bf3c6532af4c9b624404b4df984107d3 (patch)
tree7738967d263427ddc9041429e05ed81b6fb05055 /services
parentad42a1c8564775bfda41f685baaee9b57fdb2782 (diff)
downloadrunit-void-a7c36f54bf3c6532af4c9b624404b4df984107d3.tar.gz
runit-void-a7c36f54bf3c6532af4c9b624404b4df984107d3.tar.xz
runit-void-a7c36f54bf3c6532af4c9b624404b4df984107d3.zip
New service: usbipd.
Diffstat (limited to 'services')
-rwxr-xr-xservices/usbipd/run3
l---------services/usbipd/supervise1
2 files changed, 4 insertions, 0 deletions
diff --git a/services/usbipd/run b/services/usbipd/run
new file mode 100755
index 0000000..1be237e
--- /dev/null
+++ b/services/usbipd/run
@@ -0,0 +1,3 @@
+#!/bin/sh
+modprobe -q usbip || exit 1
+exec usbipd
diff --git a/services/usbipd/supervise b/services/usbipd/supervise
new file mode 120000
index 0000000..8f27a67
--- /dev/null
+++ b/services/usbipd/supervise
@@ -0,0 +1 @@
+/run/runit/supervise.usbipd
\ No newline at end of file