Systemd
List services
Status service
systemctl status firewalld.service
Start Stop Service
systemctl stop firewalld.service
systemctl status firewalld.service
Add Service
cd /etc/systemd/system
sudo vim jupyterlab.service
Add in vim file
[Unit]
Description = Jupyterlab service
After = network.target
StartLimitIntervalSec=0
[Service]
Type=simple
User=zas
ExecStart=/home/zas/Documents/jupyterlab_start.bash
[Install]
WantedBy = multi-user.target
Start Service manually
systemctl start jupyterlab
Start Service on boot
systemctl enable jupyterlab