Jump to content
View in the app

A better way to browse. Learn more.

Next

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

lancer une application au démarage

Featured Replies

Bonjour,

j'utilise sme et j'aimerais savoir comment faire automatiquement ./home/e-smith/files/ibays/ts/ts2 server start

j'aimerais savoir comment éxecuter cette ligne directement au démarrage

merci

@+

NoNo

ben tu te fais un scripte d'init que tu colle dans /etc/init.d/ et puis tu utilises l'outil ad hoc pour l'ajouter aux bons runlevels...

je te rassure, si sur sme les scriptes d'init sont en bash, alors ça tiendra en une ligne :chinois:

  • Author

dans sme il n'y a pas d'interface graphique puisque c'est un serveur

c tout en ligne de commande alors comment faire ?

@+

NoNo

 [-f /home/e-smith/files/ibays/ts/ts2] && /home/e-smith/files/ibays/ts/ts2 server start || echo "ts2 failed" >> /home/e-smith/mylogs/ts2.log

 [-f /home/e-smith/files/ibays/ts/ts2] && /home/e-smith/files/ibays/ts/ts2 server start || echo "ts2 failed" >> /home/e-smith/mylogs/ts2.log

Perso, j'aurais pas testé un -f mais un -x (existe & exécutable)

  • Author

vous risquez pas de trouver c'est moi qui est rajouté l'application elle n'y et pas de base

@+

NoNo

De quoi parles-tu nono92?

On te donne la manière de lancer ton application au démarrage... Perso, j'utiliserais la ligne de Theocrite sauf que j'utiliserais -x à la place de -f et je fouttrais ça dans /etc/rc.local (ou équivalent car ça dépend de la distro)

Effectivement, la méthode la plus simple est de copier ta ligne de commande à la fin du fichier /etc/rc.d/rc.local (ou /etc/rc.local dépendant de la dist.) !

Edited by ggbce

Perso, j'aurais pas testé un -f mais un -x (existe & exécutable)
Bien vu :mdr:

Au temps pour moi.

En même temps pour ma défense c'était la troisième fois que je postait le message alors pu trop attentif à force :non:

Et puis pour les scripts shells, je fais mon [ -x ] && sh /mon/path/script.sh :mdr:

Bon je sors pour la peine :mdr:

 [-f /home/e-smith/files/ibays/ts/ts2] && /home/e-smith/files/ibays/ts/ts2 server start || echo "ts2 failed" >> /home/e-smith/mylogs/ts2.log

Perso, j'aurais pas testé un -f mais un -x (existe & exécutable)
Bien vu ;)

Au temps pour moi.

En même temps pour ma défense c'était la troisième fois que je postait le message alors pu trop attentif à force :p

Et puis pour les scripts shells, je fais mon [ -x ] && sh /mon/path/script.sh :p

Bon je sors pour la peine ;)

D'ailleurs y'a un espace entre le "[" et le "-f" (ou le -x)...

Archived

This topic is now archived and is closed to further replies.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.