24 lines
558 B
SYSTEMD
24 lines
558 B
SYSTEMD
|
[Unit]
|
||
|
Description=PTP: Boundary/Ordinary Clock
|
||
|
|
||
|
[Service]
|
||
|
# added automatically, for details please see
|
||
|
# https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort
|
||
|
ProtectSystem=full
|
||
|
ProtectHome=true
|
||
|
PrivateDevices=true
|
||
|
ProtectHostname=true
|
||
|
ProtectKernelTunables=true
|
||
|
ProtectKernelModules=true
|
||
|
ProtectKernelLogs=true
|
||
|
ProtectControlGroups=true
|
||
|
RestrictRealtime=true
|
||
|
DeviceAllow=/dev/rtc
|
||
|
# end of automatic additions
|
||
|
Type=simple
|
||
|
EnvironmentFile=-/etc/sysconfig/ptp4l
|
||
|
ExecStart=/usr/sbin/ptp4l $OPTIONS
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|