0

I've tried everything, I've followed and undone every method I've come across on here but nothing works.

I want to run a simple start-up script for an executable upon reboot, and no other time, as a specific user.

For example, I want to run /home/path/to/shscript/start.sh as user "bob"

Cron seems to do nothing. And I'm at a loss as to how to do this.

Ubuntu server version 21.10. Minimal installation.

1 Answers1

0
sudo ln -s /usr/bin/"ProgramName" ~/.config/autostart

Have you tried this. It works for me in ubuntu 18.04 i am not sure about ubuntu 21.10.