xinlib: set Type to oneshot..

This commit is contained in:
Aaron Bieber 2023-06-16 10:27:45 -06:00
parent 143a347c53
commit 5bb45ef792
No known key found for this signature in database

View File

@ -41,9 +41,7 @@ let
value = {
script = mkCronScript "${job.name}_script" job.script;
inherit (job) startAt path;
serviceConfig = {
OneShot = true;
};
serviceConfig = { Type = "oneshot"; };
};
};
jobToService = job: {
@ -53,7 +51,7 @@ let
inherit (job) startAt path;
serviceConfig = {
User = "${job.user}";
OneShot = true;
Type = "oneshot";
};
};
};