DR Authentication Server #### env - golang 1.24 - postgres14 #### run ```shell go run main.go run ``` #### deploy ```shell # 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 ```