|
vor 1 Tag | |
---|---|---|
cmd | vor 1 Woche | |
common | vor 1 Tag | |
config | vor 1 Tag | |
logger | vor 1 Woche | |
models | vor 1 Woche | |
rpc_idl @ fd1299aaac | vor 1 Woche | |
service | vor 1 Tag | |
static | vor 1 Woche | |
.gitignore | vor 2 Wochen | |
.gitmodules | vor 1 Woche | |
Makefile | vor 2 Wochen | |
README.md | vor 2 Wochen | |
go.mod | vor 1 Woche | |
go.sum | vor 1 Woche | |
main.go | vor 2 Wochen |
DR Resource Server
go run main.go run
# vim /etc/systemd/system/resource-server.service
[Unit]
Description=dr resource service
After=network.target
[Service]
Type=simple
WorkingDirectory=xxx/DRResourceServer
ExecStart=xxx/DRResourceServer/resource-server run
[Install]
WantedBy=multi-user.target
# 重新加载systemd配置
sudo systemctl daemon-load
# 启动服务
sudo systemctl restart resource-server.service