Jobber: Fix paths.

This commit is contained in:
Dmitry Voronin 2024-12-15 21:38:16 +03:00
parent d8b98c38ca
commit 18d9462fa9
2 changed files with 9 additions and 2 deletions

View file

@ -25,6 +25,13 @@ in {
hostAddress = "188.242.247.132";
localAddress = "10.1.0.2";
bindMounts = {
"/data" = {
hostPath = "/storage/hot/data/jobber";
isReadOnly = true;
};
};
config = { ... }: let
packages = [
script

View file

@ -29,8 +29,8 @@ URL_SCHEME = "https://"
URL = "portal.fsight.ru/"
# DRIVER = "/data/geckodriver"
DRIVER = "geckodriver"
USERS = "/storage/hot/data/jobber/users.txt"
OVPN = "/storage/hot/data/jobber/fsight.ovpn"
USERS = "/data/users.txt"
OVPN = "/data/fsight.ovpn"
BUTTON = "//*[contains(@id, '_InOutButton')]"
TEXT_HERE = "Пришёл"
TEXT_GONE = "Ушёл"