sftpo: restart on failure (e.g. when it fails to bind address
This commit is contained in:
parent
e97d844380
commit
6b7507384c
|
@ -177,5 +177,8 @@ in
|
||||||
ReadWritePaths = [ "/var/export/playground" ];
|
ReadWritePaths = [ "/var/export/playground" ];
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
|
|
||||||
|
Restart = "always";
|
||||||
|
RestartSec = "20s";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user