Mycroft Community Forum

Mycroftd startup script?

Is there a service start/stop script for picroft, something like /etc/init.d/mycroftd? It would be nice to have mycroft running at picroft boot time.

Thanks.

-Mike Mac

It should run by default on picroft at boottime…Picroft default login as user pi and run auto_run.sh which starts the venv and the mycroft serviceses

andio, thanks for the reply. But are you saying it should run at boot time, or does auto_run.sh have to be run manually? It seems the latter, but I would expect the former. Also I see the executable bits are not set and /home/pi is not in the default PATH.

I will work at integrating it into /etc/init.d so it starts at boot time and will report back.

-Mike Mac
1 Like

Yes - normaly picroft has enabled autologin and by defaylt run auto_run.sh, so when picroft boots up it starts mycroft without any thing more to do.

But that is the default and it can be changed as you fit.

1 Like