follow=name

Co-Authored-By: Kayou <pierre@kayou.io>
This commit is contained in:
Maniack Crudelis 2020-04-25 00:35:39 +02:00 committed by GitHub
parent 54aa6f8912
commit a75af4896c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -113,7 +113,7 @@ ynh_systemd_action() {
local pid_tail=$!
else
# Read the specified log file
tail --follow --retry --lines=0 "$log_path" > "$templog" 2>&1 &
tail --follow=name --retry --lines=0 "$log_path" > "$templog" 2>&1 &
# Get the PID of the tail command
local pid_tail=$!
fi
@ -195,4 +195,3 @@ ynh_clean_check_starting () {
fi
}