made a string
This commit is contained in:
parent
53d3205238
commit
1badf77912
@ -115,8 +115,8 @@
|
||||
autoScrub.enable = true;
|
||||
};
|
||||
};
|
||||
|
||||
systemd.services.snapshot_manager = {
|
||||
systemd = {
|
||||
services."snapshot_manager" = {
|
||||
description = "ZFS Snapshot Manager";
|
||||
requires = [ "zfs-import.target" ];
|
||||
after = [ "zfs-import.target" ];
|
||||
@ -125,7 +125,7 @@
|
||||
ExecStart = "${pkgs.python3}/bin/python -m zfs.snapshot_manager --config-file='/ZFS/Media/Scripts/new/config.toml'";
|
||||
};
|
||||
};
|
||||
systemd.timers.snapshot_manager = {
|
||||
timers."snapshot_manager" = {
|
||||
description = "ZFS Snapshot Manager";
|
||||
service = "snapshot_manager";
|
||||
timerConfig = {
|
||||
@ -134,6 +134,7 @@
|
||||
Unit = "snapshot_manager.service";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
system.stateVersion = "23.11";
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user