Jupyter开机启动
sudo vim /etc/systemd/system/jupyter.service
[Unit]
Description=Jupyter lab
[Service]
User=wgs
Type=forking
WorkingDirectory=/your/wrok/directory
ExecStart=/usr/bin/tmux new -d -s jupyter
ExecStartPost=/usr/bin/tmux send-keys -t jupyter "cd /your/wrok/directory && jupyter lab" Enter
[Install]
WantedBy=multi-user.target