Lancer une application au démarrage

un script auto

 nano startup.service
[unit]
After=network.target
[Service]
ExecStart=/usr/local/bin/startup.sh
[Install]
WantedBy=default.target

note : après le service network-manager car script pour VPN

Mettre dans le bon répertoire

 cp startup.service /etc/systemd/system

Les bons droits :

 sudo chmod 744 /usr/local/bin/startup.sh
 sudo chmod 664 /etc/systemd/system/startup.service

Relancer et activer

 sudo systemctl deamon-reload
 sudo systemctl enable starup.service