1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lstu_ynh.git synced 2024-09-03 19:36:12 +02:00

Merge pull request #22 from YunoHost-Apps/update-helper

update helper
This commit is contained in:
Kayou 2019-02-15 00:35:01 +01:00 committed by GitHub
commit f1ef0ac1ba
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -43,7 +43,7 @@ ynh_systemd_action() {
# Following the starting of the app in its log # Following the starting of the app in its log
if [ "$log_path" == "systemd" ] ; then if [ "$log_path" == "systemd" ] ; then
# Read the systemd journal # Read the systemd journal
journalctl -u $service_name -f --since=-45 > "$templog" & journalctl --unit=$service_name --follow --since=-0 --quiet > "$templog" &
else else
# Read the specified log file # Read the specified log file
tail -F -n0 "$log_path" > "$templog" & tail -F -n0 "$log_path" > "$templog" &