首页 > 其他分享 >一个项目用的linunx后台服务配置

一个项目用的linunx后台服务配置

时间:2022-11-23 15:13:43浏览次数:32  
标签:opt target service 配置 wrapper linunx 后台 isg dccs

[Unit]
Description=Springboot project auto start
After=syslog.target network.target nss-lookup.target nacos-wrapper.service soc.mc.service isg-devicemanger-wrapper.service isg-identify-wrapper.service
Wants=nacos-wrapper.service soc.mc.service isg-devicemanger-wrapper.service isg-identify-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  

 

标签:opt,target,service,配置,wrapper,linunx,后台,isg,dccs
From: https://www.cnblogs.com/xiaoko/p/16918376.html

相关文章