make the ssh port forward services restart on fail

This commit is contained in:
randomuser 2023-12-18 16:44:12 -06:00
parent 35cf2e5863
commit 1f77bd54f3
1 changed files with 12 additions and 0 deletions

View File

@ -80,6 +80,10 @@
'';
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = "0s";
};
};
systemd.services.radicale-web-bridge = {
@ -88,6 +92,10 @@
'';
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = "0s";
};
};
systemd.services.internal-ssh-bridge = {
@ -96,5 +104,9 @@
'';
wantedBy = [ "multi-user.target" ];
after = [ "network.target" "ankisyncd.service" ];
serviceConfig = {
Restart = "on-failure";
RestartSec = "0s";
};
};
}