blob: 40a543cfaf9efab58e67299d119a9defe8db87ce (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
# Stops celeryd instances running based on the INI file used to start them.
# To stop, just run:
# service celeryd-stop start
description "Celeryd Stop Task"
author "Milo Casagrande <milo.casagrande@linaro.org>"
start on stopped rhodecode
task
env HOME="/home/rhodecode"
script
for conf in `ls $HOME/production-*.ini` ; do
stop celeryd APPINI=`basename $conf`
done
end script
|