This is an old revision of the document!
Start/Stop Multiple Services
systemctl stop 'pod-*'
Jupyter Notbook example unit file
- jupyter.service
# /usr/lib/systemd/system/jupyter.service # systemctl daemon-reload # systemctl enable jupyter.service [Unit] Description=Jupyter Notebook Requires=local-fs.target After=local-fs.target [Service] Type=simple PIDFile=/run/jupyter.pid ExecStart=/usr/local/bin/jupyter-notebook\ --no-browser\ --config=/home/datamining/.jupyter/jupyter_notebook_config.py\ --notebook-dir=/home/datamining/jupyter\ --ip 0.0.0.0 User=datamining Group=datamining WorkingDirectory=/home/datamining/jupyter/ Restart=always RestartSec=10 #KillMode=mixed [Install] WantedBy=multi-user.target