ubuntu-buildroot/package/linuxptp/ptp4l.service

14 lines
265 B
SYSTEMD

[Unit]
Description=Precision Time Protocol daemon
After=syslog.target network.target
Before=time-sync.target
Wants=time-sync.target
Wants=phc2sys.service
[Service]
ExecStart=/usr/sbin/ptp4l -f /etc/linuxptp.cfg
Restart=always
[Install]
WantedBy=multi-user.target