forked from pool/linuxptp
3937b1b0d4
Automatic systemd hardening effort by the security team. This has not been tested. For details please see https://en.opensuse.org/openSUSE:Security_Features#Systemd_hardening_effort OBS-URL: https://build.opensuse.org/request/show/923291 OBS-URL: https://build.opensuse.org/package/show/network:time/linuxptp?expand=0&rev=22
24 lines
558 B
Desktop File
24 lines
558 B
Desktop File
[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
|