service配置文件

[Unit]
Description="itcp Service"
After=network.target cs_tcp.service

[Service]
Type=simple
GuessMainPID=true
WorkingDirectory=/var/itcpPublishCopy/
StandardOutput=journal
StandardError=journal
ExecStart=/usr/bin/dotnet ITCP.Web.dll
Restart=always

[Install]
WantedBy=multi-user.target

 

转载于:https://www.cnblogs.com/qingfenglin/p/11413503.html

你可能感兴趣的:(service配置文件)