On 6/24/2020 1:25 PM, Nicolas FRANCOIS wrote:
Salut.
J'ai installé sur mon ordinateur Jupyter (jupyter, jupyter-client,
jupyter-console, jupyter-core, jupyter-notebook, jupyter-qtconsole,
ipython), et je voudrais que le service soit lancé automatiquement au
démarrage du système.
Sur la page https://wiki.debian.org/Jupyter, il est dit qu'on peut
faire cela avec systemd :
systemctl --user enable jupyter-notebook.service
systemctl --user start jupyter-notebook.service
Mais quand je tape la première ligne (ou la deuxième), j'obtiens ceci :
nico@Gaston:~$ sudo systemctl enable jupyter-notebook.service
Failed to enable unit: Unit file jupyter-notebook.service does not
exist.
Pourtant, j'ai ce qu'il faut, il me semble :
nico@Gaston:~$ locate jupyter-notebook.service
/usr/lib/systemd/user/jupyter-notebook.service
Je ne suis pas très à l'aise avec systemd. Faut-il que je copie ce
script à un endroit où systemd peut le trouver ?
This is an English mailing list, you might be better off in a French one! :)
--
John Doe