Fork me on GitHub
#datomic
<
2023-05-10
>
J10:05:05

Hi guys! I’m new to datomic and I’m wonder if it’s possible to run the transactor in background (in detach mode)?

delaguardo10:05:49

probably nohup command &

jaret11:05:17

Yep. The transactor is just another process and you can run it in the background. I do this a lot when I am testing locally. But gentle reminder that we do recommend that all your datomic processes (peers and transactors) are isolated: https://docs.datomic.com/pro/operation/deployment.html#process-isolation.

J11:05:20

Thanks guys

Eduardo Lopes12:05:15

I personally start datomic on REPL running a separate thread with sh, avoids me to do a lot of setup it’s just a REPL start

Eduardo Lopes12:05:13

Using a dev namespace to do the tooling of getting datomic dir and starting it

icemanmelting09:05:54

If we are talking peer server, I am running the transactor and peers as services on an ubuntu server instance