forked from pool/neard
4b12af8ee2
- Drop ProtectClock hardening, can cause issues if other device acceess is needed OBS-URL: https://build.opensuse.org/request/show/925473 OBS-URL: https://build.opensuse.org/package/show/hardware/neard?expand=0&rev=26
28 lines
643 B
Desktop File
28 lines
643 B
Desktop File
[Unit]
|
|
Description=neard service
|
|
Documentation=man:neard(8)
|
|
|
|
[Service]
|
|
# added automatically, for details please see
|
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
|
ProtectSystem=full
|
|
ProtectHome=true
|
|
ProtectHostname=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
RestrictRealtime=true
|
|
# end of automatic additions
|
|
Type=dbus
|
|
BusName=org.neard
|
|
ExecStart=/usr/lib/nfc/neard -n
|
|
NotifyAccess=main
|
|
#WatchdogSec=10
|
|
#Restart=on-failure
|
|
#CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE CAP_NET_RAW
|
|
LimitNPROC=1
|
|
|
|
[Install]
|
|
Alias=dbus-org.neard.service
|