ubuntu

package module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 25, 2026 License: MIT Imports: 8 Imported by: 0

README

togo

togo-framework/deploy-ubuntu

Part of the togo framework.

Install

togo install togo-framework/deploy        # the base
togo install togo-framework/deploy-ubuntu

Ubuntu VPS deploy driver — builds a linux/amd64 binary, rsyncs it over SSH, writes a systemd unit, and (re)starts the service.

Configure in togo.yaml:

deploy:
  provider: ubuntu
  host: 1.2.3.4
  user: root
  domain: app.example.com

Documentation

Overview

Package ubuntu is a VPS deploy driver for togo deploy targeting Ubuntu hosts. It builds a linux/amd64 binary locally, rsyncs it to the host over SSH, writes a systemd unit, and (re)starts the service. Select with DEPLOY_PROVIDER=ubuntu.

deploy-centos and deploy-debian are sibling drivers with the same flow; they differ only in the package manager used to install runtime prerequisites.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func New

func New(distro, pkgInstall string) deploy.Deployer

New returns a generic SSH/systemd VPS driver. distro is the name; pkgInstall is the shell snippet that installs runtime prerequisites (apt/yum/dnf). Exported so deploy-centos / deploy-debian can reuse it.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL