From d173887324fb62d7d9cc0bc0a7b5665959be916b Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 17 Jul 2021 16:45:49 +0200 Subject: [PATCH] explain confusing behavior in journalctl --- contrib/systemd/copyparty.service | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/contrib/systemd/copyparty.service b/contrib/systemd/copyparty.service index 52fe28fb..b50920fd 100644 --- a/contrib/systemd/copyparty.service +++ b/contrib/systemd/copyparty.service @@ -7,6 +7,12 @@ # you may want to: # change '/usr/bin/python' to another interpreter # change '/mnt::a' to another location or permission-set +# +# with `Type=notify`, copyparty will signal systemd when it is ready to +# accept connections; correctly delaying units depending on copyparty. +# But note that journalctl does not show messages in the correct order +# (or with correct timestamps even), so you get confusing stuff like +# https://user-images.githubusercontent.com/241032/126040249-cb535cc7-c599-4931-a796-a5d9af691bad.png [Unit] Description=copyparty file server