qbittorrent: fixed qbit_manage service

This commit is contained in:
Danilo Reyes 2024-06-22 21:23:35 -06:00
parent 0cea6b3495
commit b8f19d396f

View File

@ -21,12 +21,12 @@ in {
description = "Tidy up my torrents";
wantedBy = [ "default.target" ];
path = [ pkgs.python3 pkgs.pipenv ];
serviceConfig = {
serviceConfig = let env = "/home/jawz/Development/Git/qbit_manage";
in {
Restart = "on-failure";
RestartSec = 30;
WorkingDirectory = "/home/jawz/Development/Git/qbit_manage";
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 = {