New answers tagged autostart
this script might work with some tweakings with your need #! /bin/bash id_of_software=$(pidof <software name>) if [[ -n $id_of_software ]] then echo "it is running" + $id_of_software run your script else echo "not running" do something fi
This may help you find it: grep --recursive mysql /etc/init* grep --recursive mysql /etc/rc*
Check /etc/default/transmission-daemon config file. In it, set ENABLE_DAEMON=0, and it won't autostart.
Top 50 recent answers are included