# Stops rhodecode instances running based on the INI file used to start them. # To stop rhodecode instances, just run: # service rhodecode-stop start description "RhodeCode Stop Task" author "Milo Casagrande " start on runlevel [!2345] task env HOME="/home/rhodecode" script for conf in `ls $HOME/production-*.ini` ; do stop rhodecode APPINI=`basename $conf` done end script