|
преди 2 седмици | |
---|---|---|
api | преди 2 седмици | |
cmd | преди 2 седмици | |
common | преди 2 седмици | |
config | преди 2 седмици | |
dto | преди 2 седмици | |
logger | преди 2 седмици | |
models | преди 2 седмици | |
router | преди 2 седмици | |
rpc_idl @ 798567b8fa | преди 2 седмици | |
service | преди 2 седмици | |
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