|
3 天之前 | |
---|---|---|
api | 3 天之前 | |
cmd | 3 天之前 | |
common | 6 天之前 | |
config | 6 天之前 | |
dto | 2 周之前 | |
logger | 2 周之前 | |
models | 6 天之前 | |
router | 3 天之前 | |
rpc_idl @ b247d632b2 | 3 天之前 | |
service | 3 天之前 | |
static | 6 天之前 | |
.gitignore | 2 周之前 | |
.gitmodules | 2 周之前 | |
Makefile | 2 周之前 | |
README.md | 2 周之前 | |
go.mod | 2 周之前 | |
go.sum | 2 周之前 | |
main.go | 2 周之前 |
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