Fix tremotesf
start
This commit is contained in:
parent
55a3807844
commit
042e3e787c
1 changed files with 4 additions and 1 deletions
|
@ -16,7 +16,10 @@
|
|||
};
|
||||
|
||||
Service = {
|
||||
ExecStart = "${lib.getExe' pkgs.coreutils "sleep"} 5 && ${lib.getExe pkgs.tremotesf} --minimized";
|
||||
ExecStart = pkgs.writeShellScript "start-tremotesf.sh" ''
|
||||
sleep 5
|
||||
${lib.getExe pkgs.tremotesf} --minimized
|
||||
'';
|
||||
Restart = "on-failure";
|
||||
RestartSec = 3;
|
||||
};
|
||||
|
|
Loading…
Add table
Reference in a new issue