summaryrefslogtreecommitdiff
path: root/net-misc/linuxptp/files/phc2sysAT.service
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-08-15 14:28:19 +0100
committerV3n3RiX <venerix@koprulu.sector>2022-08-15 14:28:19 +0100
commit1c3adf43f1b866276828623dd63f9e10d29421d3 (patch)
tree08af6cfc34a399a31fab99fe6691383651b7891c /net-misc/linuxptp/files/phc2sysAT.service
parent49d7633bbfe37c8e50c9cd1815c4210ca0a38d49 (diff)
gentoo auto-resync : 15:08:2022 - 14:28:19
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