Ubuntu Pastebin

Paste from root at Sun, 2 Aug 2015 16:52:09 +0000

Download as text
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
description  "Celery-flower daemon"
author       "Roman Gorodeckij <holms@holms.lt>"

expect fork
script

        # Activate virtualenv
    . /var/www/shrinktheapp/bin/activate
    
    # App specific vars
    . /etc/environment

    # Source celery config
    . /etc/default/celery

    exec /var/www/shrinktheapp/bin/celery flower --broker="${BROKER_URL}"\
                        --address="0.0.0.0" \
                        --port=5555 \
                        --basic_auth="admin:[eU/Jc7]J4biqz[)nPG" \
                        --app=${CELERYD_APP } \
                        --workdir="/var/www/shrinktheapp/project" \
                        --uid=www \
                        --gid=www \
                        --loglevel=${CELERYD_LOG_LEVEL} \
                        --logfile="/var/log/flower.log" \
                        --pidfile=${CELYRID_PID_FILE}

end script
Download as text