summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dotfiles/.config/shepherd/init.scm9
1 files changed, 9 insertions, 0 deletions
diff --git a/dotfiles/.config/shepherd/init.scm b/dotfiles/.config/shepherd/init.scm
index 349a8a6..5ee7b5f 100644
--- a/dotfiles/.config/shepherd/init.scm
+++ b/dotfiles/.config/shepherd/init.scm
@@ -102,6 +102,15 @@ Ruby version, and listens on PORT."
(rails-service "ua" "3000" "2.1.5" '(api))
(rails-service "m3" "3001" "2.2.2" '(api ua punjab openfire sidekiq))
+ ;; M3 DB replica
+ (make <service>
+ #:provides '(m3-replica)
+ #:start (make-forkexec-constructor
+ `("mysqld"
+ "--defaults-file=/home/dthompson/Code/m3/replica/etc/my.cnf"
+ "--user=dthompson"))
+ #:stop (make-kill-destructor))
+
;; Punjab (BOSH)
(let* ((punjab-home (string-append %home "/Code/vhl-bosh"))
(punjab-config (string-append punjab-home "/conf/development.tac")))