added startup_validation for jeeves
This commit is contained in:
parent
e03a88b25c
commit
ca75203681
20
systems/jeeves-jr/services.nix
Normal file
20
systems/jeeves-jr/services.nix
Normal file
@ -0,0 +1,20 @@
|
||||
{ inputs, ... }:
|
||||
{
|
||||
systemd = {
|
||||
services.startup_validation = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "validates startup";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeevesjr";
|
||||
};
|
||||
};
|
||||
timers.startup_validation = {
|
||||
wantedBy = [ "timers.target" ];
|
||||
timerConfig = {
|
||||
OnBootSec = "10min";
|
||||
Unit = "startup_validation.service";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
@ -9,13 +9,13 @@
|
||||
ExecStart = "${pkgs.bash}/bin/bash ${./scripts/plex_permission.sh}";
|
||||
};
|
||||
};
|
||||
};
|
||||
startup_validation = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "validates startup";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeeves";
|
||||
startup_validation = {
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
description = "validates startup";
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
ExecStart = "${inputs.server_tools.packages.x86_64-linux.default}/bin/validate_jeeves";
|
||||
};
|
||||
};
|
||||
};
|
||||
timers = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user