All times are UTC - 6 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: dump1090-fa option request
PostPosted: Sun May 14, 2017 6:54 am 
Offline
ttalex - FlightAware user avatar

Joined: Sat Dec 31, 2016 12:13 pm
Posts: 14
The latest dump1090-fa appears to work very well but has one annoyance that could be really great to fix...

Every time the dump1090-fa starts it creates the /var/run/dump1090-fa directory and removes it on shutdown.
If the directory is already there dump1090-fa just fails to start :(
dump1090-mutability does not recreate the directory on startup and does not remove it on exit.
I would like to permanently keep /var/run/dump1090-fa directory as I have some scripts that get confused when the directory is not there.

Do you mind to explain the reason why FA version does it differently then mutability?
Is there any way to disable the startup check and directory cleanup on exit?
Can you add this option to the next release please?

Really appreciate your help!


Top
 Profile  
 
 Post subject: Re: dump1090-fa option request
PostPosted: Sun May 14, 2017 12:26 pm 
Offline
FlightAware Staff
obj - FlightAware user avatar

Joined: Tue Sep 30, 2014 7:14 pm
Posts: 3676
This is controlled by the systemd service file's RuntimeDirectory option.
If you want some behaviour other than the default, you'll want to modify the service file to reflect what you want.
Or you could fix your scripts.


Top
 Profile  
 
 Post subject: Re: dump1090-fa option request
PostPosted: Sun May 14, 2017 1:38 pm 
Offline
ttalex - FlightAware user avatar

Joined: Sat Dec 31, 2016 12:13 pm
Posts: 14
Thank you very much for a prompt reply!

I have commented couple of lines in /lib/systemd/system/dump1090-fa.service file and everything works great now!

#RuntimeDirectory=dump1090-fa
#RuntimeDirectoryMode=0755

As a result I can write dump1090-fa and dump1090-mutability json files to the same directory and switch between two dumps whenever needed without updating anything else...

Really appreciate your help!

obj wrote:
This is controlled by the systemd service file's RuntimeDirectory option.
If you want some behaviour other than the default, you'll want to modify the service file to reflect what you want.
Or you could fix your scripts.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 6 hours [ DST ]


Who is online

Users browsing this forum: PBero, sarthilongani and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to: