Skip to content

Commit

Permalink
feat: adaptation of dbus security specifications
Browse files Browse the repository at this point in the history
adaptation of dbus security specifications

Log: adaptation of dbus security specifications
  • Loading branch information
feeengli committed Dec 12, 2023
1 parent 3f58bc7 commit f8f640d
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,3 +80,4 @@ install(TARGETS ${BIN_NAME} DESTINATION ${CMAKE_INSTALL_BINDIR})
install(FILES ${BIN_NAME}.json DESTINATION share/deepin-service-manager/other/)
install(FILES org.deepin.devicecontrol.conf DESTINATION share/dbus-1/system.d/)
install(FILES org.deepin.DeviceControl.service DESTINATION share/dbus-1/system-services/)
install(FILES deepin-devicecontrol.service DESTINATION lib/systemd/system/)
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[Unit]
Description=Deepin Device Control Daemon

[Service]
Type=dbus
BusName=org.deepin.DeviceControl
ExecStart=/usr/bin/deepin-devicecontrol
CapabilityBoundingSet=~CAP_NET_RAW
MemoryLimit=8G

[Install]
WantedBy=multi-user.target
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[D-BUS Service]
Name=org.deepin.DeviceControl
Exec=/usr/bin/deepin-devicecontrol
User=root
Exec=/usr/bin/false
SystemdService=deepin-devicecontrol.service

0 comments on commit f8f640d

Please sign in to comment.