summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJan Luebbe <jlu@pengutronix.de>2012-09-27 19:29:49 +0200
committerJan Luebbe <jlu@pengutronix.de>2012-09-27 19:29:49 +0200
commitd6cb9ff8f7758a9f203d5cc625571d8b8281d9d1 (patch)
tree6a75a08cee11ac59943c0ac59d082771ce89226c
parent5274c7a757e696b644b50227887c50e9a9c4b6e0 (diff)
downloadDistroKit-d6cb9ff8f7758a9f203d5cc625571d8b8281d9d1.tar.gz
DistroKit-d6cb9ff8f7758a9f203d5cc625571d8b8281d9d1.tar.xz
urshd: run only if 'devel' is in the kernel command line
Signed-off-by: Jan Luebbe <jlu@pengutronix.de>
-rw-r--r--projectroot/lib/systemd/system/urshd.service10
1 files changed, 10 insertions, 0 deletions
diff --git a/projectroot/lib/systemd/system/urshd.service b/projectroot/lib/systemd/system/urshd.service
new file mode 100644
index 0000000..65d04ab
--- /dev/null
+++ b/projectroot/lib/systemd/system/urshd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=urshd Server
+After=syslog.target
+ConditionKernelCommandLine=devel
+
+[Service]
+ExecStart=/usr/bin/urshd -D
+
+[Install]
+WantedBy=multi-user.target