summaryrefslogtreecommitdiff
path: root/net-misc/linuxptp/files/timemaster.service
diff options
context:
space:
mode:
Diffstat (limited to 'net-misc/linuxptp/files/timemaster.service')
-rw-r--r--net-misc/linuxptp/files/timemaster.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-misc/linuxptp/files/timemaster.service b/net-misc/linuxptp/files/timemaster.service
new file mode 100644
index 000000000000..f8cbae76500d
--- /dev/null
+++ b/net-misc/linuxptp/files/timemaster.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=LinuxPTP NTP timemaster
+Conflicts=chronyd.service ntpd.service
+
+[Service]
+Type=simple
+ExecStart=/usr/sbin/timemaster -f /etc/timemaster.conf
+ProtectHome=yes
+ProtectSystem=full
+
+[Install]
+WantedBy=multi-user.target