VEGAS/nextcloud: restart setup service on failure
This commit is contained in:
parent
0f7d4118d7
commit
5b4c240c80
1 changed files with 4 additions and 1 deletions
|
@ -56,6 +56,9 @@ in
|
|||
};
|
||||
systemd.services = {
|
||||
phpfpm-nextcloud.aliases = [ "nextcloud.service" ];
|
||||
nextcloud-setup.after = [ "postgresql.service" ];
|
||||
nextcloud-setup.serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
RestartSec = "10s";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue