Create the UNIT File

Enhanced PTP User Guide (UG1602)

Document ID
Release Date
1.1 English

Create the sfptpd.service unit file as /etc/systemd/system/sfptpd.service:

ExecStart=/usr/sbin/sfptpd -f/<path>/ptp_slave.cfg

The above example ensures that sfptpd is not started until the is available to ensure that all network interfaces are configured and in an ‘up’ state before sfptpd is started. The sfptpd interface can be specified in the ptp_slave.cfg file.

Note: You should be aware of the following:
  • The full path is required to the sfptpd config file.
  • The sfptpd interface must be configured with an IP address and must be in an up state before sfptpd can be run.
  • Run systemctl daemon-reload after changes are made to the unit file.