https://dagster.io/ logo
Title
t

Timothy Elder

03/13/2023, 8:10 PM
Running dagster as a service on an EC2 instance and am currently running it in the background. It wants to stop whenever I log out of the instance however. Currently working on figuring out how to run it as a systemd service but does anyone know how to keep it running otherwise?
t

Tim Castillo

03/14/2023, 1:30 AM
How are you currently running it as a service? Do you ssh in and run
dagster-daemon run
? Have you tried running the daemon at startup via a cloud-config, user data, etc.? If those aren't possible, an option could be to
nohup
the dagster instance? haven't tried it myself
t

Timothy Elder

03/14/2023, 8:28 PM
I got it, actually created a systemd service for both dagster and dagit.
👏🏽 1