From 8c321b296eda9bc1e4156ce424b9e112ea6d6985 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Tue, 19 Nov 2019 08:46:50 -0500 Subject: [PATCH] Add Prodigy tag for lola services --- emacs/init.org | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/emacs/init.org b/emacs/init.org index b3c22ed..277cd12 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -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"