Run scripts in background
Just add & in the end: /usr/local/etc/script.sh &
Run without user session: nohup script.sh &
or nohup script.sh > /dev/null &
In autostart scripts (rc.d, init.d) just use &
Some tips for me and other
Just add & in the end: /usr/local/etc/script.sh &
Run without user session: nohup script.sh &
or nohup script.sh > /dev/null &
In autostart scripts (rc.d, init.d) just use &
Comments are currently closed.