Go框架demo
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
369 B

[Unit]
Description = Micro Service API
After = syslog.target network.target
[Service]
PIDFile = /data/repo/REPO_NAME/lock/BUILD_TARGET.pid
ExecStart = /data/repo/REPO_NAME/bin/BUILD_TARGET beta
ExecReload = /data/repo/REPO_NAME/bin/BUILD_TARGET beta reload
ExecStop = /data/repo/REPO_NAME/bin/BUILD_TARGET beta stop
[Install]
WantedBy=multi-user.target