Edit

IABSD.fr/ports/www/azorius/pkg/README

Branch :

  • Show log

    Commit

  • Author : gonzalo
    Date : 2024-08-26 07:25:27
    Hash : d9d991e5
    Message : Update for Azorius to 0.4.0 from Maintainer (Horia)

  • www/azorius/pkg/README
  • +-------------------------------------------------------------------------------
    | Running ${PKGSTEM} on OpenBSD
    +-------------------------------------------------------------------------------
    
    Initial configuration
    =====================
    
    azorius expects to be fronted by a TLS terminating reverse proxy.
    Make sure to pass the Host header for nginx(8)
    	proxy_set_header Host $http_host;
    
    Setup
    =====
    
    Please see ${TRUEPREFIX}/share/doc/azorius
    
    azorius(8)
    ----------
    
    azorius# doas -su _azorius
    azorius$ umask 077; cd ${LOCALSTATEDIR}/azorius && azorius init
    listenaddr: localhost:31337
    servername: azorius.example.com
    username: puffy
    password: OxychromaticBlowfishSwatDynamite
    done.
    azorius$ exit
    
    azorius# rcctl enable azorius
    azorius# rcctl start azorius
    
    Azorius at https://azorius.example.com
    
    Database Upgrade
    ================
    
    If you are upgrading from a version before 0.3.4, you will need to upgrade
    the database format:
    
    Stop the old azorius process.
    azorius# rcctl stop azorius
    
    Perform the upgrade with the upgrade command.
    azorius# doas -su _azorius
    azorius$ umask 077; cd ${LOCALSTATEDIR}/azorius && cp azorius.db backup.db
    azorius$ azorius upgrade
    azorius$ exit
    
    Restart.
    azorius# rcctl start azorius