will this work
This commit is contained in:
parent
8881c46831
commit
01cd5f0978
1 changed files with 3 additions and 2 deletions
|
|
@ -49,11 +49,12 @@ in
|
||||||
|
|
||||||
systemd.services.wanikani-stats = {
|
systemd.services.wanikani-stats = {
|
||||||
description = "WaniKani Stats Service";
|
description = "WaniKani Stats Service";
|
||||||
|
after = [ "network.target" ];
|
||||||
serviceConfig = {
|
serviceConfig = {
|
||||||
Type = "simple";
|
Type = "simple";
|
||||||
ExecStart = "${lib.getExe wanikani-stats-streamlit}";
|
ExecStart = "${lib.getExe wanikani-stats-streamlit}";
|
||||||
Restart = "always";
|
WorkingDirectory = "/var/lib/wanikani-stats";
|
||||||
RestartSec = 60;
|
Restart = "on-failure";
|
||||||
User = "root";
|
User = "root";
|
||||||
Group = "root";
|
Group = "root";
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue