made a string
This commit is contained in:
parent
53d3205238
commit
1badf77912
@ -115,8 +115,8 @@
|
|||||||
autoScrub.enable = true;
|
autoScrub.enable = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
systemd = {
|
||||||
systemd.services.snapshot_manager = {
|
services."snapshot_manager" = {
|
||||||
description = "ZFS Snapshot Manager";
|
description = "ZFS Snapshot Manager";
|
||||||
requires = [ "zfs-import.target" ];
|
requires = [ "zfs-import.target" ];
|
||||||
after = [ "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'";
|
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";
|
description = "ZFS Snapshot Manager";
|
||||||
service = "snapshot_manager";
|
service = "snapshot_manager";
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
@ -134,6 +134,7 @@
|
|||||||
Unit = "snapshot_manager.service";
|
Unit = "snapshot_manager.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
};
|
||||||
|
|
||||||
system.stateVersion = "23.11";
|
system.stateVersion = "23.11";
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user