Bash script to run automatically after server restart – CentOS
I have a script, it restarts tomcat in 2 minutes,, I would like that this script was started constantly after server restart, I will be grateful if someone shows how to do it? #! /bin/bash sleep 120 systemctl restart tomcat