kumquat-buildroot/package/ptpd2/ptpd2.service
Alex Suykov 6e060b9c83 ptpd2: systemd support
Following package and sysv initscript naming scheme,
the service is "ptpd2" instead of just "ptpd" version 2.

[Thomas:
  - use relative symlink instead of an absolute symlink
  - remove the -s option, which redirects stdout, since systemd will
    take care of it
  - add the -g option, to be consistent with what the init script is
    using.]

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2015-07-14 12:13:41 +02:00

11 lines
181 B
Desktop File

[Unit]
Description=Precision Time Protocol daemon
After=syslog.target network.target
[Service]
ExecStart=/usr/sbin/ptpd2 -C -g
Restart=always
[Install]
WantedBy=multi-user.target