Skip to content

Commit

Permalink
Added DBus conf and systemd service files
Browse files Browse the repository at this point in the history
  • Loading branch information
Sri Ramanujam committed May 24, 2016
1 parent 69f220f commit a485d54
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 0 deletions.
12 changes: 12 additions & 0 deletions dist/RDPMux.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=RDP server multiplexer designed to work with virtual machines

[Service]
Type=dbus
BusName=org.RDPMux.RDPMux
ExecStart=/usr/bin/rdpmux --certificate-dir=/var/lib/rdpmux
User=rdpmux
Group=rdp

[Install]
WantedBy=multi-user.target
15 changes: 15 additions & 0 deletions dist/org.RDPMux.RDPMux.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<busconfig>
<policy context="default">
<allow own="org.RDPMux.RDPMux"/>
<allow send_destination="org.RDPMux.RDPMux"
send_interface="org.RDPMux.ServerWorker"/>
<allow send_destination="org.RDPMux.RDPMux"
send_interface="org.RDPMux.RDPMux"/>
<allow send_destination="org.RDPMux.RDPMux"
send_interface="org.freedesktop.DBus.Properties"/>
<allow send_destination="org.RDPMux.RDPMux"
send_interface="org.freedesktop.DBus.Introspectable"/>
<allow send_destination="org.RDPMux.RDPMux"
send_interface="org.freedesktop.DBus.Peer"/>
</policy>
</busconfig>

0 comments on commit a485d54

Please sign in to comment.