Skip to content

Commit

Permalink
Add DBus and systemd service files
Browse files Browse the repository at this point in the history
Signed-off-by: Andy Grover <agrover@redhat.com>
  • Loading branch information
Andy Grover committed Sep 15, 2015
1 parent 62d1c56 commit 38f0327
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
8 changes: 8 additions & 0 deletions org.kernel.TCMUService1.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# When placed in /usr/share/dbus-1/system-services/, this should cause tcmu-runner
# to be loaded and run by dbus-daemon when a client accesses the service name.

[D-BUS Service]
Name=org.kernel.TCMUService1
Exec=/usr/bin/tcmu-runner
User=root
SystemdService=tcmu-runner.service
7 changes: 7 additions & 0 deletions tcmu-runner.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[Unit]
Description=LIO Userspace-passthrough daemon

[Service]
Type=dbus
BusName=org.kernel.TCMUService1
ExecStart=/usr/bin/tcmu-runner

0 comments on commit 38f0327

Please sign in to comment.