This is definitely a dumb question so apologies in...
# ask-community
g
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
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
Yeah - that's how I'm doing it now but seemed hacky
I'll the systemD approach - ty!
👍 1