summaryrefslogtreecommitdiff
path: root/net-misc/linuxptp/files/phc2sysAT.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/linuxptp/files/phc2sysAT.service')
-rw-r--r--net-misc/linuxptp/files/phc2sysAT.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/net-misc/linuxptp/files/phc2sysAT.service b/net-misc/linuxptp/files/phc2sysAT.service
new file mode 100644
index 000000000000..576c7691ba89
--- /dev/null
+++ b/net-misc/linuxptp/files/phc2sysAT.service
@@ -0,0 +1,13 @@
+[Unit]
+Description=Synchronise two or more system clocks
+Documentation=man:phc2sys
+Requires=ptp4l.service
+After=ptp4l.service
+Before=time-sync.target
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/phc2sys -w -s %I
+
+[Install]
+WantedBy=multi-user.target