forked from Fediversity/Fediversity
Make ensure-garage
a oneshot service
This commit is contained in:
parent
1932a131e0
commit
60cf77e66e
|
@ -166,6 +166,9 @@ in {
|
|||
systemd.services.ensure-garage = {
|
||||
after = [ "garage.service" ];
|
||||
wantedBy = [ "garage.service" ];
|
||||
serviceConfig = {
|
||||
Type = "oneshot";
|
||||
};
|
||||
path = [ cfg.package pkgs.perl pkgs.awscli ];
|
||||
script = ''
|
||||
set -xeuo pipefail
|
||||
|
|
Loading…
Reference in a new issue