|
hace 2 semanas | |
---|---|---|
api | hace 2 semanas | |
cmd | hace 2 semanas | |
common | hace 2 semanas | |
config | hace 2 semanas | |
dto | hace 2 semanas | |
logger | hace 2 semanas | |
models | hace 2 semanas | |
router | hace 2 semanas | |
rpc_idl @ 798567b8fa | hace 2 semanas | |
service | hace 2 semanas | |
static | hace 2 semanas | |
.gitignore | hace 2 semanas | |
.gitmodules | hace 2 semanas | |
Makefile | hace 2 semanas | |
README.md | hace 2 semanas | |
go.mod | hace 2 semanas | |
go.sum | hace 2 semanas | |
main.go | hace 2 semanas |
DR Authentication Server
go run main.go run
# vim /etc/systemd/system/auth-server.service
[Unit]
Description=dr authentication service
After=network.target
[Service]
Type=simple
WorkingDirectory=xxx/DRAuthServer
ExecStart=xxx/DRAuthServer/auth-server run
[Install]
WantedBy=multi-user.target
# 重新加载systemd配置
sudo systemctl daemon-load
# 启动服务
sudo systemctl restart auth-server.service