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