anchor.diff:          after = [ "network.target" ];
           wantedBy = [ "seafile.target" ];
           restartTriggers = [ ccnetConf seafileConf ];
  +        path = [ pkgs.sqlite ];
           serviceConfig = securityOptions // {
             User = "seafile";
             Group = "seafile";
  
positive.code:           installedMinor=$(cat "${seafRoot}/server-setup" | cut -d"-" -f1 | cut -d"." -f2)
            pkgMajor=$(echo "${cfg.seafilePackage.version}" | cut -d"." -f1)
            pkgMinor=$(echo "${cfg.seafilePackage.version}" | cut -d"." -f2)
            if [ $installedMajor != $pkgMajor ] || [ $installedMinor != $pkgMinor ]; then
                echo "Unsupported upgrade" >&2
                exit 1
            fi
  
negative.code:     }
      MEDIA_ROOT = '${seahubDir}/media/'
      THUMBNAIL_ROOT = '${seahubDir}/thumbnail/'
  
      SERVICE_URL = '${cfg.ccnetSettings.General.SERVICE_URL}'
  
      with open('${seafRoot}/.seahubSecret') as f:
          SECRET_KEY = f.readline().rstrip()
  