|
преди 1 седмица | |
---|---|---|
api | преди 1 седмица | |
cmd | преди 1 седмица | |
common | преди 1 седмица | |
config | преди 1 седмица | |
dto | преди 1 седмица | |
logger | преди 1 седмица | |
models | преди 1 седмица | |
router | преди 1 седмица | |
rpc_idl @ 798567b8fa | преди 1 седмица | |
service | преди 1 седмица | |
static | преди 1 седмица | |
.gitignore | преди 1 седмица | |
.gitmodules | преди 1 седмица | |
Makefile | преди 1 седмица | |
README.md | преди 1 седмица | |
go.mod | преди 1 седмица | |
go.sum | преди 1 седмица | |
main.go | преди 1 седмица |
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