¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: Pi autostart


 

¿ªÔÆÌåÓý

I wouldnt use systemd or crontab the autostart folder was the simplest and it actually works.

some other methods dont play nice with pi

Get


From: [email protected] <[email protected]> on behalf of WB9EZB <pikemike999@...>
Sent: Friday, January 8, 2021 9:33:45 AM
To: [email protected] <[email protected]>
Subject: Re: [yaac-users] Pi autostart
?
The article I sent describes starting a python program on startup...for a java program like YAAC you have to substitute
The command line for a java
Program.?
java -jar /home/pi/YAAC/YAAC/.jar


On Jan 8, 2021, at 11:23 AM, WB9EZB via groups.io <pikemike999@...> wrote:

?


See if this helps



On Jan 8, 2021, at 11:15 AM, KG7KMV <jonglauser@...> wrote:

?I'm trying to setup YAAC to autostart when my pi boots up. I just watched KM4ACK's video and he started Xastir in crontab, so I tried the same with YAAC. I think it's starting, but not attached to my user/screen. I suspect it's because it's a Java app and not stand alone? Any Linux gurus know how to do this right?

my crontab file contains:
#start YAAC at reboot
@reboot sleep 60 && java -jar /home/pi/YAAC/YAAC.jar
?
I tried just hitting the YAAC script but that didn't seem to start it at all. Doing the Java command, with a ps query I can see:
pi@packetpi:~ $ ps -aux |grep YAAC
pi? ? ? ? ?339? 0.0? 0.0? ?1940? ?364 ?? ? ? ? Ss? ?10:03? ?0:00 /bin/sh -c sleep 60 && java -jar /home/pi/YAAC/YAAC.jar
pi? ? ? ? 1080 11.4? 3.6 365384 34604 ?? ? ? ? Sl? ?10:04? ?1:05 java -jar /home/pi/YAAC/YAAC.jar
pi? ? ? ? 5563? 0.0? 0.0? ?7348? ?552 pts/0? ? S+? ?10:14? ?0:00 grep --color=auto YAAC

but there is nothing on the screen.

Join [email protected] to automatically receive all group messages.