use systemd unit name attribute
This commit is contained in:
parent
df68047ea9
commit
6ee4a1c4d5
7 changed files with 34 additions and 24 deletions
modules/nixos
|
@ -62,9 +62,9 @@
|
|||
Type = "oneshot";
|
||||
TimeoutStartSec = "60";
|
||||
};
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ "hydra-server.service" ];
|
||||
requires = [ "hydra-server.service" ];
|
||||
wantedBy = [ config.systemd.targets.multi-user.name ];
|
||||
after = [ config.systemd.services.hydra-server.name ];
|
||||
requires = [ config.systemd.services.hydra-server.name ];
|
||||
environment = {
|
||||
inherit (config.systemd.services.hydra-init.environment) HYDRA_DBI;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue