sonic-buildimage/files/image_config/ntp/ntp-config.service

17 lines
292 B
SYSTEMD
Raw Normal View History

[Unit]
Description=Update NTP configuration
Requires=updategraph.service
After=updategraph.service
BindsTo=sonic.target
After=sonic.target
Before=ntp.service
StartLimitIntervalSec=0
[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/ntp-config.sh
[Install]
WantedBy=sonic.target