mirror of
https://github.com/albfan/miraclecast.git
synced 2025-02-15 00:31:54 +00:00
miracle-dispd: reduce caps from .service file
Change-Id: Ibfc14aca1c03b8cd6b50a49d5128da8597acb898
This commit is contained in:
parent
3584a9a976
commit
7538d7c07f
2 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,10 @@ After=miracle-wifid.service
|
|||
BusName=org.freedesktop.miracle.wfd
|
||||
Environment=LOG_LEVEL=trace
|
||||
ExecStart=@CMAKE_INSTALL_PREFIX@/bin/miracle-dispd
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE \
|
||||
CAP_SETGID \
|
||||
CAP_SETUID \
|
||||
CAP_SETPCAP
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
|
@ -8,6 +8,10 @@ After=miracle-wifid.service
|
|||
BusName=@dbus_name_prefix@.wfd
|
||||
Environment=LOG_LEVEL=trace
|
||||
ExecStart=@exec_path@/miracle-dispd
|
||||
CapabilityBoundingSet=CAP_NET_BIND_SERVICE \
|
||||
CAP_SETGID \
|
||||
CAP_SETUID \
|
||||
CAP_SETPCAP
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
|
Loading…
Reference in a new issue