|
19 ساعت پیش | |
---|---|---|
api | 19 ساعت پیش | |
cmd | 19 ساعت پیش | |
common | 3 روز پیش | |
config | 4 روز پیش | |
dto | 2 هفته پیش | |
logger | 1 هفته پیش | |
models | 3 روز پیش | |
router | 19 ساعت پیش | |
rpc_idl @ b247d632b2 | 19 ساعت پیش | |
service | 19 ساعت پیش | |
static | 4 روز پیش | |
.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