|
4 днів тому | |
---|---|---|
api | 4 днів тому | |
cmd | 1 тиждень тому | |
common | 6 днів тому | |
config | 6 днів тому | |
dto | 2 тижнів тому | |
logger | 1 тиждень тому | |
models | 1 тиждень тому | |
router | 4 днів тому | |
rpc_idl @ c7adaf6cbe | 4 днів тому | |
service | 4 днів тому | |
static | 2 тижнів тому | |
.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