xinlib: set Type to oneshot..
This commit is contained in:
parent
143a347c53
commit
5bb45ef792
@ -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";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user