1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/jupyterlab_ynh.git synced 2024-09-03 19:26:35 +02:00

fix ynh_systemd_action for change_url

This commit is contained in:
Pierre Bourré 2019-01-21 23:21:41 +01:00
parent 9fcbe6a6e1
commit 1f4ed86570

View file

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