summaryrefslogtreecommitdiff
path: root/src/time-wait-sync
Commit message (Collapse)AuthorAgeFilesLines
* time-wait-sync: move time-wait-sync.c -> src/timesync/wait-sync.cYu Watanabe2021-01-191-244/+0
| | | | As wait-online is located under src/network.
* license: LGPL-2.1+ -> LGPL-2.1-or-laterYu Watanabe2020-11-091-1/+1
|
* time-wait-sync: drop gpl snail mail boilerplateZbigniew Jędrzejewski-Szmek2020-10-291-8/+1
| | | | No idea why this chunk was left when we removed the other copies.
* tree-wide: use the usual SPDX header for our own filesZbigniew Jędrzejewski-Szmek2020-10-291-0/+1
|
* basic/time-util: add function to format timestamps with different stylesLuca Boccassi2020-08-191-1/+1
| | | | | Instead of a multiple fixed format helper functions, add an enum and a single helper, so that it's easier to extend in the future.
* tree-wide: drop signal.h when signal-util.h is includedYu Watanabe2019-11-041-1/+0
|
* tree-wide: drop missing.hYu Watanabe2019-10-311-1/+0
|
* fs-util: introduce inotify_add_watch_and_warn() helperFranck Bui2019-10-051-2/+2
| | | | | | | | The default message for ENOSPC is very misleading: it says that the disk is filled, but in fact the inotify watch limit is the problem. So let's introduce and use a wrapper that simply calls inotify_add_watch(2) and which fixes the error message up in case ENOSPC is returned.
* codespell: fix spelling errorsBen Boeckel2019-04-291-1/+1
|
* time-wait: define main through macroYu Watanabe2018-11-231-34/+23
|
* tree-wide: drop empty lines in commentsYu Watanabe2018-07-231-1/+0
|
* tree-wide: drop copyright lines for more authorsZbigniew Jędrzejewski-Szmek2018-06-221-1/+0
| | | | Acks in https://github.com/systemd/systemd/issues/9320.
* Drop more license boilerplateZbigniew Jędrzejewski-Szmek2018-06-141-10/+0
| | | | | | | | $ git grep -e 'This program is free software' -l |grep -v LICENSE | \ xargs perl -i -0pe 's/ \* This program.*?for more details.\s*\*\n( \* You should have.*licenses.>.\n)?//gms' For some reason they were missed previously. All those files seem to have proper SDPX tags.
* tree-wide: beautify remaining copyright statementsLennart Poettering2018-06-141-1/+1
| | | | | | Let's unify an beautify our remaining copyright statements, with a unicode ©. This means our copyright statements are now always formatted the same way. Yay.
* time-util: introduce common implementation of TFD_TIMER_CANCEL_ON_SET client ↵Lennart Poettering2018-06-061-16/+10
| | | | | | code We now use pretty much the same code at three places, let's unify that.
* time-wait-sync: use watchfile to coordinate with timesyncdPeter A. Bigot2018-04-141-35/+127
| | | | | | | | | | | Systems that have an accurate real-time clock may have an initial unsynchronized time that is close enough to the synchronized time that the final adjustment doesn't trigger a waking "clock set" event. Have timesyncd touch a file in its runtime directory as a secondary signal for synchronization. Continue to support the timerfd-based trigger as a sufficient condition when the watchfile is not present. Closes issue #8683
* time-sync-wait: trivial style fixesZbigniew Jędrzejewski-Szmek2018-04-071-13/+11
|
* time-sync-wait: add service (#8494)Peter A. Bigot2018-03-211-0/+191
This one-shot service waits until the kernel time has been set to synchronized.