https://dagster.io/ logo
#ask-community
Title
# ask-community
g

Greg Wellbrock

07/10/2023, 8:42 PM
This is definitely a dumb question so apologies in advance. I am running DAGSTER on EC2 DAGSTER_HOME=/home/ubuntu/dagster dagster -f main.py -h 0.0.0.0 -p 8080 and the daemon service as well but when I close my SSH session the dagster service stops. What's the recommended approach to this when not on ECS?
dagster bot responded by community 1
j

Justin Taylor

07/10/2023, 8:51 PM
One approach would be to define a systemd service.
You may also find "screen" useful in situations when you want to leave a session open on a remote server after your SSH session is closed.
g

Greg Wellbrock

07/10/2023, 8:55 PM
Yeah - that's how I'm doing it now but seemed hacky
I'll the systemD approach - ty!
👍 1
2 Views