systemd

systemd 小記

sample 位置 /lib/systemd/system/xxx.service [Unit] Description=Jupyter Notebook Documentation=man:mysqld(8) Documentation=https://mariadb.com/kb/en/library/systemd/ After=network.target syslog.target docker.service [Install] WantedBy=multi-user.target Alias=mysql.service Alias=mysqld.service [Service] Type=simple StandardError=inherit StandardOutput=syslog PIDFile=/run/jupyter.pid # Step 1 and Step 2 details are here.. # ------------------------------------ ExecStartPre= ExecStart=/home/avkash/.