will this work

This commit is contained in:
Osman Faruk Bayram 2025-07-31 18:05:29 +03:00
parent 8881c46831
commit 01cd5f0978

View file

@ -49,11 +49,12 @@ in
systemd.services.wanikani-stats = {
description = "WaniKani Stats Service";
after = [ "network.target" ];
serviceConfig = {
Type = "simple";
ExecStart = "${lib.getExe wanikani-stats-streamlit}";
Restart = "always";
RestartSec = 60;
WorkingDirectory = "/var/lib/wanikani-stats";
Restart = "on-failure";
User = "root";
Group = "root";
};