Re: How to ensure a systemd unit waits for ntpd to sync before starting?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



can you please stop cure replys instead just post to the list breaking
others threading and reply-list buttons?

Am 02.04.19 um 11:25 schrieb Debraj Manna:
> I do see a ntp-wait <goog_627709103>.
> <https://linux.die.net/man/8/ntp-wait> Can some one let me know what
> corresponding condition I should place in my service unit file to wait
> for this?

didn't you realize that this isn't even a unit to begin with?
"Automatically generated by systemd-sysv-generator"

/etc/init.d/ are never systemd units

in your case i would order a ntpdate between network and ntpd and order
my service as i showed you after ntpd

first get rid of that initscript crap

i doubt that you really want to wait until ntpd say "yeah i am now done
with my initalization"
_______________________________________________
systemd-devel mailing list
systemd-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/systemd-devel




[Index of Archives]     [LARTC]     [Bugtraq]     [Yosemite Forum]     [Photo]

  Powered by Linux