diff options
Diffstat (limited to 'recipes-support-ivi/ntp/files/ntpdate.service')
-rw-r--r-- | recipes-support-ivi/ntp/files/ntpdate.service | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/recipes-support-ivi/ntp/files/ntpdate.service b/recipes-support-ivi/ntp/files/ntpdate.service new file mode 100644 index 0000000..97ebb3c --- /dev/null +++ b/recipes-support-ivi/ntp/files/ntpdate.service @@ -0,0 +1,11 @@ +[Unit]
+Description=Network Time Service (one-shot ntpdate mode)
+Before=ntpd.service
+
+[Service]
+Type=oneshot
+ExecStart=/usr/bin/ntpd -q -g -x
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target
|