Just use ā€œ-Dā€ to have it detach from the tty.

Or use the systemd/upstart scripts. Or use supervisord.


> On 19 Aug 2017, at 10:43, Sam Elamin <[email protected]> wrote:
> 
> We were using simple screens to do this
> 
> And now migrating to celery
> 
> So run the scheduler on a screen And if your ssh breaks you should still be
> ok
> 
> 
> Regards
> Sam
> On Sat, 19 Aug 2017 at 04:46, Russell Pierce <[email protected]>
> wrote:
> 
>> nohup works, but when I was starting out with Airflow I preferred tmux
>> (it's like screen). That keeps the program running if I lose the connection
>> and allows me to reattach later.
>> 
>> Best,
>> Russell
>> 
>> On Aug 18, 2017 3:23 PM, "manish ranjan" <[email protected]> wrote:
>> 
>>> Hi All,
>>> 
>>> We are running a single instance of airflow on ec2 Ubuntu. However, I
>> feel
>>> that the moment my ssh connection breaks, airflow stops functioning.  Is
>>> there a known way to keep it running. I am aware of *nohup*, but I was
>>> thinking the solution should be cleaner than that.
>>> 
>>> ~Manish
>>> 
>> 

Reply via email to