Packaged installs

Lazysite ships as Debian packages built from one source: a common engine package plus packages for the web server in front of it. Installing a package puts the engine on the host; a site is then provisioned from it by the site's own user with lazysite provision.

The packages

  • lazysite-common - the engine payload at /usr/share/lazysite, the lazysite CLI at /usr/bin/lazysite, man pages, the site registry directory /etc/lazysite/sites.d/, the lazysite@ FastCGI pool unit, and the lazysited@ runtime unit and timer. Installing or upgrading the package leaves every site tree as it is.
  • lazysite-hestia - HestiaCP integration: the Apache web templates lazysite-cgi and lazysite-fcgi, the nginx proxy template lazysite-proxy, and the lazysite-hestia-domain command that onboards a panel domain. The operator applies both the Apache template and the proxy template to the domain.
  • lazysite-apache / lazysite-nginx - plain-host glue: commented vhost examples (vhost-cgi, vhost-fcgi, vhost-one-rule and vhost-one-rule-pool), plus lazysite-apache-vhost / lazysite-nginx-vhost, root-run commands that render a domain's vhost into sites-available/ and print the enable and reload steps for the operator to run. Both ship the multi-server wiring reference.

The glue packages depend on the exact same version of lazysite-common, so a host upgrades them together.

Installing and provisioning

The steps for each host type, the provision, upgrade and reinstall commands, and whole-host upgrades are described in Installation and Upgrading. lazysite help lists every verb of the CLI. Which releases a site accepts is set by its update channel.