wifibackup: success with [0 1]

This commit is contained in:
Motiejus Jakštys 2024-06-06 02:04:35 +03:00
parent 2ee5109310
commit 38c707c96e

View File

@ -54,6 +54,7 @@ in {
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
User = "root"; User = "root";
SuccessExitStatus = [0 1];
ExecStart = '' ExecStart = ''
${pkgs.unison}/bin/unison \ ${pkgs.unison}/bin/unison \
-sshcmd ${pkgs.openssh}/bin/ssh \ -sshcmd ${pkgs.openssh}/bin/ssh \