Documentation ¶
Overview ¶
Package update provides the update functionality for the server.
Index ¶
Constants ¶
View Source
const (
DefaultUpdateURL = "https://pkg.gpud.dev/"
)
Variables ¶
This section is empty.
Functions ¶
func DisableSystemdUnit ¶
func DisableSystemdUnit() error
func EnableSystemdUnit ¶
func EnableSystemdUnit() error
func PackageUpdate ¶ added in v0.1.0
func RequireRoot ¶
func RequireRoot() error
func RestartSystemdUnit ¶
func RestartSystemdUnit() error
func StopSystemdUnit ¶
func StopSystemdUnit() error
func UpdateOnlyBinary ¶ added in v0.0.5
Updates the gpud binary by only downloading the tarball and unpacking it, without restarting the service or requiring root.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.