## 服务文件
/etc/systemd/system/baget.service
```sh
sudo nano /etc/systemd/system/code-release.service
sudo systemctl start code-release.service
sudo systemctl daemon-reload
sudo systemctl start baget
sudo systemctl enable baget
sudo systemctl status baget
sudo systemctl stop baget


sudo systemctl restart code-release

```
## 发布命令
```sh
# /disk/BaGet/src/BaGet$
  dotnet publish -c Release -o /disk/BaGetApi/
  dotnet publish -c Release -o /disk/CodeRelease/public/
```

## 同步命令
```sh
rsync -avz /disk/BaGetApi/ ubuntu@123.207.203.228:/disk/BaGet/net8.0/
rsync -avz /disk/CodeRelease/public/ ubuntu@123.207.203.228:/disk/CodeRelease/

```
## 上传
```sh
dotnet nuget push XLib.NetCore.Utility.1.0.0.nupkg --source "http://123.207.203.228:91/v3/index.json" --api-key "066f010d59"

```
