Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentesRévision précédente | |||
| 04-linux:82-kodi [2019/12/30 18:38] – [Service pour démarrage automatique] Roge | 04-linux:82-kodi [2019/12/30 18:39] (Version actuelle) – [Service pour démarrage automatique] Roge | ||
|---|---|---|---|
| Ligne 83: | Ligne 83: | ||
| # Once this has been copied, you can attempt to start the service using the following command: | # Once this has been copied, you can attempt to start the service using the following command: | ||
| - | sudo systemctl start myscript.service | + | sudo systemctl start kodi.service |
| # Stop it using following command: | # Stop it using following command: | ||
| - | sudo systemctl stop myscript.service | + | sudo systemctl stop kodi.service |
| # When you are happy that this starts and stops your app, you can have it start automatically on reboot by using this command: | # When you are happy that this starts and stops your app, you can have it start automatically on reboot by using this command: | ||
| - | + | sudo systemctl enable | |
| - | sudo systemctl enable | + | |
| # The systemctl command can also be used to restart the service or disable it from boot up! | # The systemctl command can also be used to restart the service or disable it from boot up! | ||