|
vor 1 Tag | |
---|---|---|
api | vor 1 Tag | |
cmd | vor 6 Tagen | |
common | vor 6 Tagen | |
config | vor 1 Woche | |
dto | vor 3 Wochen | |
logger | vor 2 Wochen | |
models | vor 1 Woche | |
router | vor 1 Tag | |
rpc_idl @ 095f02566c | vor 1 Tag | |
service | vor 1 Tag | |
static | vor 6 Tagen | |
.gitignore | vor 3 Wochen | |
.gitmodules | vor 3 Wochen | |
Makefile | vor 3 Wochen | |
README.md | vor 3 Wochen | |
go.mod | vor 3 Wochen | |
go.sum | vor 3 Wochen | |
main.go | vor 3 Wochen |
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