Skip to content

Commit 38f0327

Browse files
author
Andy Grover
committed
Add DBus and systemd service files
Signed-off-by: Andy Grover <[email protected]>
1 parent 62d1c56 commit 38f0327

File tree

2 files changed

+15
-0
lines changed

2 files changed

+15
-0
lines changed

org.kernel.TCMUService1.service

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# When placed in /usr/share/dbus-1/system-services/, this should cause tcmu-runner
2+
# to be loaded and run by dbus-daemon when a client accesses the service name.
3+
4+
[D-BUS Service]
5+
Name=org.kernel.TCMUService1
6+
Exec=/usr/bin/tcmu-runner
7+
User=root
8+
SystemdService=tcmu-runner.service

tcmu-runner.service

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
[Unit]
2+
Description=LIO Userspace-passthrough daemon
3+
4+
[Service]
5+
Type=dbus
6+
BusName=org.kernel.TCMUService1
7+
ExecStart=/usr/bin/tcmu-runner

0 commit comments

Comments
 (0)