|
1 gün önce | |
---|---|---|
api | 1 gün önce | |
cmd | 1 hafta önce | |
common | 1 gün önce | |
config | 1 gün önce | |
dto | 1 hafta önce | |
logger | 1 hafta önce | |
models | 1 gün önce | |
router | 2 gün önce | |
rpc_idl @ c7adaf6cbe | 2 gün önce | |
service | 1 gün önce | |
static | 1 gün önce | |
.gitignore | 1 hafta önce | |
.gitmodules | 1 hafta önce | |
Makefile | 1 hafta önce | |
README.md | 1 hafta önce | |
go.mod | 1 hafta önce | |
go.sum | 1 hafta önce | |
main.go | 1 hafta önce |
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