[Unit]
Description=Springboot project auto start
After=syslog.target network.target nss-lookup.target nacos-wrapper.service
Wants=nacos-wrapper.service
[Service]
User=root
Type=forking
ExecStart=/opt/dccs/svr/isg/isg-common-wrapper.sh start
ExecReload=/opt/dccs/svr/isg/isg-common-wrapper restart
ExecStop=/opt/dccs/svr/isg/isg-common-wrapper.sh stop
ExecStartPre=/bin/sleep 50
[Install]
WantedBy=multi-user.target
一个项目用的linunx后台服务配置
最新推荐文章于 2024-08-14 17:40:04 发布