Commit 44dab98a authored by intrigeri's avatar intrigeri

Explicitly declare htpdate.service as being needed for time-sync.target.

This ensures that "services where correct time is essential should be
ordered after this unit" (as long as such services have themselves
declared the right dependencies). We don't ship any such services
currently, so this is rather pedantic a commit.

Note: in our case, we don't want the Tor service to wait for
time-sync.target, since we still use the Tor consensus for time
sync' purposes.
parent 9bc8ef56
[Unit]
Description=Setting time using HTP
Documentation=https://tails.boum.org/contribute/design/Time_syncing/
Before=time-sync.target
Wants=time-sync.target
[Service]
Type=oneshot
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment