Restart mautrix-telegram daily

This commit is contained in:
Alexander Bantyev 2023-09-12 01:16:34 +04:00
parent b15fc41005
commit 74cc42e41b
No known key found for this signature in database
GPG Key ID: 48ABA304F3A30FE9

View File

@ -112,8 +112,11 @@
};
};
systemd.services.mautrix-telegram.serviceConfig.DynamicUser =
lib.mkForce false;
systemd.services.mautrix-telegram.serviceConfig = {
DynamicUser = lib.mkForce false;
Restart = "always";
RuntimeMaxSec = "1d";
};
systemd.services.mautrix-telegram.serviceConfig.User = "mautrix-telegram";