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:
parent
9fcbe6a6e1
commit
1f4ed86570
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,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 -u $service_name -f -n0 > "$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" &
|
||||||
|
|
Loading…
Reference in a new issue