qbittorrent: fixed qbit_manage service
This commit is contained in:
parent
0cea6b3495
commit
b8f19d396f
@ -21,12 +21,12 @@ in {
|
|||||||
description = "Tidy up my torrents";
|
description = "Tidy up my torrents";
|
||||||
wantedBy = [ "default.target" ];
|
wantedBy = [ "default.target" ];
|
||||||
path = [ pkgs.python3 pkgs.pipenv ];
|
path = [ pkgs.python3 pkgs.pipenv ];
|
||||||
serviceConfig = {
|
serviceConfig = let env = "/home/jawz/Development/Git/qbit_manage";
|
||||||
|
in {
|
||||||
Restart = "on-failure";
|
Restart = "on-failure";
|
||||||
RestartSec = 30;
|
RestartSec = 30;
|
||||||
WorkingDirectory = "/home/jawz/Development/Git/qbit_manage";
|
|
||||||
ExecStart =
|
ExecStart =
|
||||||
"./venv/bin/python3 ./qbit_manage.py -r -c ./config.yml";
|
"${env}/venv/bin/python3 ${env}/qbit_manage.py -r -c ${env}/config.yml";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
unpackerr = {
|
unpackerr = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user