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
375 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 online
ExecReload = /data/repo/REPO_NAME/bin/BUILD_TARGET online reload
ExecStop = /data/repo/REPO_NAME/bin/BUILD_TARGET online stop
[Install]
WantedBy=multi-user.target