make evremap restart on crash

This commit is contained in:
Schrottkatze 2023-11-17 11:53:59 +01:00
parent af25da9eea
commit 4946136de3

View file

@ -21,5 +21,8 @@ in {
systemd.services.evremap = { systemd.services.evremap = {
script = "${evremap}/bin/evremap remap ${../../other/remaps-${config.networking.hostName}.toml}"; script = "${evremap}/bin/evremap remap ${../../other/remaps-${config.networking.hostName}.toml}";
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
unitConfig = {
Restart = "on-failure";
};
}; };
} }