How To Run Java Jar Application with Systemd on Linux
https://computingforgeeks.com/how-to-run-java-jar-application-with-systemd-on-linux/systemd自啟動java程序
https://www.cnblogs.com/yoyotl/p/8178363.html
------------------------------------------------------------
[Unit]
Description=TestJava
After=network.target
[Service]
Type=forking
ExecStart=/home/test/startTest.sh
ExecStop=/home/test/stopTest.sh
[Install]
WantedBy=multi-user.target
Description=TestJava
After=network.target
[Service]
Type=forking
ExecStart=/home/test/startTest.sh
ExecStop=/home/test/stopTest.sh
[Install]
WantedBy=multi-user.target
-------------------------------------------------------------
How to Autorun application at the start up in Linux
https://developer.toradex.com/knowledge-base/how-to-autorun-application-at-the-start-up-in-linux
How to automatically run program on Linux startup
https://www.simplified.guide/linux/automatically-run-program-on-startup
Systemd 入門教程:實戰篇
https://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-part-two.html
Systemd 入門教程:命令篇
http://www.ruanyifeng.com/blog/2016/03/systemd-tutorial-commands.html
posted on 2020-05-11 16:16 paulwong 閱讀(274) 評論(0) 編輯 收藏 所屬分類: LINUX