mirror of
https://github.com/vale981/phoebe
synced 2025-03-04 17:31:41 -05:00
Account managers services should be "oneshot"
Making these services "oneshot" services means that other services will wait for them to finish.
This commit is contained in:
parent
dacaa53e48
commit
66525b8df1
2 changed files with 2 additions and 0 deletions
|
@ -157,6 +157,7 @@ in
|
|||
after = [ "influxdb.service" ] ++ keyservices;
|
||||
wants = keyservices;
|
||||
path = [ config.services.influxdb.package ];
|
||||
serviceConfig.Type = "oneshot";
|
||||
script =
|
||||
# Configure authentication:
|
||||
(optionalString cfg.auth.enable ''
|
||||
|
|
|
@ -269,6 +269,7 @@ in
|
|||
wantedBy = [ "postgresql.service" ];
|
||||
after = [ "postgresql.service" ] ++ afterservices;
|
||||
wants = afterservices;
|
||||
serviceConfig.Type = "oneshot";
|
||||
|
||||
script = ''
|
||||
set -e
|
||||
|
|
Loading…
Add table
Reference in a new issue