I'm running a haskell
-based build using cabal
the following way in dev mode on ubuntu 20.04
:
cabal new-run -- exe:live-docs \
--database-url='postgres://<user>:<password>@<host>:<port>/<dbname>' \
serve --enable-admin --admin-assets-dir=../admin/static
What is the best practice to keep the cabal session working in the background (keep-alive) for production use?
I have looked into the Cabal documentation in vain.