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