added ZFS_BIN envvar
This commit is contained in:
parent
c57ee5ca98
commit
3615ed942d
@ -121,6 +121,7 @@
|
|||||||
requires = [ "zfs-import.target" ];
|
requires = [ "zfs-import.target" ];
|
||||||
after = [ "zfs-import.target" ];
|
after = [ "zfs-import.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
|
Environment = "ZFS_BIN=${pkgs.zfs}/bin/zfs";
|
||||||
Type = "oneshot";
|
Type = "oneshot";
|
||||||
ExecStart = "${pkgs.python3}/bin/python3 /ZFS/Media/Scripts/new/ZFS/snapshot_manager.py --config-file='/ZFS/Media/Scripts/new/config.toml'";
|
ExecStart = "${pkgs.python3}/bin/python3 /ZFS/Media/Scripts/new/ZFS/snapshot_manager.py --config-file='/ZFS/Media/Scripts/new/config.toml'";
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user