2013-12-17 15:15:17 +01:00
|
|
|
[Unit]
|
|
|
|
Description=neard service
|
|
|
|
Documentation=man:neard(8)
|
|
|
|
|
|
|
|
[Service]
|
2021-10-13 09:22:45 +02:00
|
|
|
# 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
|
2013-12-17 15:15:17 +01:00
|
|
|
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
|