However I want to be able to access my server from anywhere to run some script in my webbrowser without having to keep my computer terminal open all the time. Or others to check some results on my notebook or do some test while I am sleep and and course I don't want to give them ssh access to my server so they can't run jupyter on the terminal.Is there any daemon on linux that allow me to do that, like unicorn for ruby for example.
Docker does raise the technical bar quite a bit, but as long as you run the hub container with the -d flag it runs in the background.
description "jupyter"
start on runlevel [xxxx]
stop on shutdown
respsawn
respawn limit 10 15
setuid myuser
setgid myuser
exec jupyter notebook --ip=x.x.x.x --port=XXXX
However I think we can do something about the user account. I created a user on my ubuntu server with very few write access. Just make them able to read the files I want on their session (after they can create as many python or other script on their ubuntu account but they are not root user so they can't do whatever they want).
Actually make it run as service was an option I though about are you speaking about inserting something like that under ./etc/init.d/