mirror of
https://forgejo.altau.su/lego/lego-monitoring.git
synced 2026-03-10 04:41:10 +00:00
restart service if it fails
This commit is contained in:
parent
da85a566c4
commit
2488cf6b07
1 changed files with 1 additions and 0 deletions
|
|
@ -68,6 +68,7 @@ package:
|
||||||
description = "Lego-monitoring service";
|
description = "Lego-monitoring service";
|
||||||
script = "${package}/bin/lego-monitoring -c ${serviceConfigFile}";
|
script = "${package}/bin/lego-monitoring -c ${serviceConfigFile}";
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
serviceConfig.Restart = "on-failure";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue