Add Prodigy tag for lola services

This commit is contained in:
Jeremy Dormitzer 2019-11-19 08:46:50 -05:00
parent 194d2629c5
commit 8c321b296e

View File

@ -3156,8 +3156,12 @@ Some functions to make my day job easier.
(call-with-env-from-file env-file done))
done))))
(prodigy-define-tag
:name 'lola)
(prodigy-define-service
:name "lola-server (gunicorn)"
:tags '(lola)
:command "bash"
:args (lambda ()
(list
@ -3176,6 +3180,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "lola-server celery worker"
:tags '(lola)
:command "python"
:args '("bin/start_celery_worker.py" "-P" "gevent")
:cwd "~/lola/lola-server"
@ -3186,6 +3191,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "travel-service"
:tags '(lola)
:command "bash"
:args (lambda ()
(list
@ -3201,6 +3207,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "travel-service celery worker"
:tags '(lola)
:command "python"
:args '("bin/start_celery_workers.py"
"-Q"
@ -3213,6 +3220,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "secrets"
:tags '(lola)
:command "python"
:args '("bin/cmdline.py" "www")
:cwd "~/lola/secrets"
@ -3232,6 +3240,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "lola-desktop"
:tags '(lola)
:command "npm"
:args '("start")
:cwd "~/lola/lola-desktop"
@ -3241,6 +3250,7 @@ Some functions to make my day job easier.
(prodigy-define-service
:name "wallet"
:tags '(lola)
:command "npm"
:args '("start")
:cwd "~/lola/wallet"