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 = {
|
||||
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";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue