mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 11:03:34 +00:00
fix corrosion data dir, add reload to systemd unit
This commit is contained in:
@@ -53,7 +53,7 @@ func (c *Config) SetDefaults() *Config {
|
||||
cfg.APISockPath = DefaultAPISockPath
|
||||
}
|
||||
if cfg.CorrosionDir == "" {
|
||||
cfg.CorrosionDir = filepath.Join(cfg.DataDir, "corroservice")
|
||||
cfg.CorrosionDir = filepath.Join(cfg.DataDir, "corrosion")
|
||||
}
|
||||
if !cfg.CorrosionAPIListenAddr.IsValid() {
|
||||
cfg.CorrosionAPIListenAddr = netip.AddrPortFrom(
|
||||
|
||||
Reference in New Issue
Block a user