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/monitoring
|
@ -20,9 +20,9 @@ in
|
|||
|
||||
systemd.services.matrix-hook = {
|
||||
description = "Matrix Hook";
|
||||
after = [ "network-online.target" ];
|
||||
wants = [ "network-online.target" ];
|
||||
wantedBy = [ "multi-user.target" ];
|
||||
after = [ config.systemd.targets.network-online.name ];
|
||||
wants = [ config.systemd.targets.network-online.name ];
|
||||
wantedBy = [ config.systemd.targets.multi-user.name ];
|
||||
environment = {
|
||||
HTTP_ADDRESS = "localhost";
|
||||
HTTP_PORT = "9088";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue