Skip to content

Releases: bjornbouetsmith/ROOT.Zfs.Api

1.0.4

30 Sep 17:38
Compare
Choose a tag to compare

Initial version to get some feedback.
Contents of zip file needs to be unzipped somewhere on your linux server and then you can just do

/usr/bin/dotnet ./Api.dll

Appsettings is changed in appsettings.json:

{
  "Remote": {
    "UseRemoteConnection": false,
    "HostName": "localhost",
    "UserName": "bbs",
    "UseSudo": true
  },
  "Logging": {
    "LogLevel": {
      "Default": "Trace",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
  "AllowedHosts": "*",
  "UseLinuxAuth": true
}
  • UseRemoteConnection controls whether or not the API connects to the local machine or via SSH to "hostname"

  • UserName/UseSudo is not relevant if you run on localhost

  • UseLinuxAuth is used to control whether or not PAM is used - its required when running on linux