|
1 hour ago | |
---|---|---|
api | 1 hour ago | |
cmd | 1 week ago | |
common | 2 days ago | |
config | 2 days ago | |
dto | 1 week ago | |
logger | 1 week ago | |
models | 1 week ago | |
router | 1 hour ago | |
rpc_idl @ c7adaf6cbe | 1 hour ago | |
service | 1 hour ago | |
static | 1 week ago | |
.gitignore | 1 week ago | |
.gitmodules | 1 week ago | |
Makefile | 1 week ago | |
README.md | 1 week ago | |
go.mod | 1 week ago | |
go.sum | 1 week ago | |
main.go | 1 week ago |
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