make the ssh port forward services restart on fail
This commit is contained in:
parent
35cf2e5863
commit
1f77bd54f3
|
@ -80,6 +80,10 @@
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "0s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.radicale-web-bridge = {
|
systemd.services.radicale-web-bridge = {
|
||||||
|
@ -88,6 +92,10 @@
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "0s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.internal-ssh-bridge = {
|
systemd.services.internal-ssh-bridge = {
|
||||||
|
@ -96,5 +104,9 @@
|
||||||
'';
|
'';
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
after = [ "network.target" "ankisyncd.service" ];
|
after = [ "network.target" "ankisyncd.service" ];
|
||||||
|
serviceConfig = {
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "0s";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue