![Alex Suykov](/assets/img/avatar_default.png)
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>
11 lines
181 B
Desktop File
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
|