[Lunar-commits] <moonbase-other> usbmuxd: Adding a systemd service and adjusting BUILD to add a
stumbles
stumbles at lunar-linux.org
Wed Dec 19 14:59:10 CET 2012
commit 50ab29a73bb777f986f92bb145a1fa3b1814d3d6
Author: stumbles <stumbles at lunar-linux.org>
Date: Wed, 19 Dec 2012 05:59:10 -0800
URL: https://github.com/lunar-linux/moonbase-other/commit/50ab29a73bb777f986f92bb145a1fa3b1814d3d6
usbmuxd: Adding a systemd service and adjusting BUILD to add a
user to silence the logs about no "usbmux" user.
---
kernel/usbmuxd/BUILD | +3/-0
kernel/usbmuxd/systemd.d/usbmuxd.service | +10/-0
2 files changed, 13 insertions(+)
--- a/kernel/usbmuxd/BUILD
+++ b/kernel/usbmuxd/BUILD
@@ -3,6 +3,9 @@
sedit "s:/lib/udev:/usr/lib/udev:" udev/CMakeLists.txt &&
sedit "s:UNKNOWN:1.0.8:" Modules/VersionTag.cmake &&
+# It wants a user "usbmux"
+ add_priv_user usbmux:usbmux -s /bin/false -d /var/usbmuxd &&
+
default_cmake_build
) > $C_FIFO 2>&1
--- /dev/null
+++ b/kernel/usbmuxd/systemd.d/usbmuxd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=iOS USB Muxer
+
+[Service]
+Type=simple
+ExecStart=/usr//sbin/usbmuxd -u -f -U usbmux
+PIDFile=/var/run/usbmuxd.pid
+
+[Install]
+WantedBy=multi-user.target
More information about the Lunar-commits
mailing list