bashrc, when restarting a process, only follow the new log entries.

This commit is contained in:
me committed 2026-10-24 14:36:22 -07:00
1 parent 38a04fbda1
commit cea7e03c11
1 file changed
+1 -1
+1 -1
View File
@@ -1245,7 +1245,7 @@
function restart() {
prog="$1"
sudo sv restart $prog
follow /var/log/$prog/current
tail -n 0 -F /var/log/$prog/current
}
alias reload="restart "