Add fleet groups, agent screenshots, deploy guards, and Crucible polish.
This commit is contained in:
12
agent/deploy/persistence_stub.go
Normal file
12
agent/deploy/persistence_stub.go
Normal file
@@ -0,0 +1,12 @@
|
||||
//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" {
|
||||
return configureRunMode(cfg, installedBin)
|
||||
}
|
||||
return nil
|
||||
}
|
||||
Reference in New Issue
Block a user