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