byobu new-session -d -s "onreboot"
byobu new-window -t "onreboot" "sudo sh ./build.sh" >/home/ubuntu/logs/api_launch.log 2>&1
Better approach at:
https://bholameena.blogspot.com/2022/10/starting-multiple-byobu-process-through.html
No comments:
Post a Comment