[Xastir] Autostart Xastir

Max Harper kg4pid at yahoo.com
Mon Feb 19 19:27:03 PST 2018


Only addressing the first sentence in your post. There is "@boot" which I've used for years. But with the latest version "Stretch" it seems to run programs a little to soon. I now have the "@boot" crontab entry run a script which has a 5 second sleep command, and then that starts my program (not xastir). I just thought I would mention this if anyone else is trying to use the "@boot" and can't figure out why it doesn't work. It worked in "Wheezy" and "Jessie" just fine (for me). I do understand that you can't start xastir directly using this method. 
Max KG4PID      From: Michael Barnes <barnmichael at gmail.com>
 To: Floyd Rodgers <kc5qbc at swbell.net>; Xastir - APRS client software discussion <xastir at lists.xastir.org> 
 Sent: Monday, February 19, 2018 5:38 PM
 Subject: Re: [Xastir] Autostart Xastir
   
On Mon, Feb 19, 2018 at 2:17 PM, Floyd Rodgers <kc5qbc at swbell.net> wrote:

> So why is crontab wrong, especially for recovery after a power failure or
> system init?
>
>
crontab runs scripts based on time, not events. While, conceivably, you
could have a script that checks to see if a program is running and restart
it if it is not, then have crontab run that script every so often, that is
not really the best way to start things on boot. There are a number of ways
to start a script on boot. These options will vary by distribution and
version of desktop manager. Although nothing is coming to me right off the
top of my head, Google something to the effect of "start application on
boot raspberry pi" and you will find a plethora of options.

Michael
_______________________________________________
Xastir mailing list
Xastir at lists.xastir.org
http://xastir.org/mailman/listinfo/xastir


   


More information about the Xastir mailing list