Change update service to nixos-upgrade
This commit is contained in:
@@ -92,7 +92,7 @@ func (p *UpdateCheckPage) Init(ctx *PageCtx) error {
|
||||
|
||||
// Start the update service
|
||||
p.state = updateCheckStateChecking
|
||||
if err := exec.Command("systemctl", "start", "rhemawave-update.service").Run(); err != nil {
|
||||
if err := exec.Command("systemctl", "start", "nixos-upgrade.service").Run(); err != nil {
|
||||
p.errorMessage, _ = NewStringItem("Update service unavailable", font, colors.White)
|
||||
p.errorMessage.Scale(scale)
|
||||
p.hasError = true
|
||||
|
||||
Reference in New Issue
Block a user