¿ªÔÆÌåÓý

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

Pi autostart


 

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.