dodatkowe poprawki i funkcje
This commit is contained in:
1
app.py
1
app.py
@@ -9,6 +9,7 @@ app = Flask(__name__)
|
||||
sslify = SSLify(app)
|
||||
|
||||
# --- ŚCIEŻKI / ŚRODOWISKO ---
|
||||
DEFAULT_EXEC_PATH = "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"
|
||||
LOG_DIR = os.environ.get("HOSTS_DAEMON_LOG_DIR", "logs")
|
||||
TOKEN_FILE_PATH = os.environ.get("HOSTS_DAEMON_TOKEN_FILE", "daemon_token.txt")
|
||||
CONFIG_PATH = os.environ.get("HOSTS_DAEMON_CONFIG", "config.ini")
|
||||
|
@@ -10,4 +10,8 @@ reload_timeout = 5
|
||||
pid_file = /run/dnsmasq/dnsmasq.pid
|
||||
|
||||
[service:dnsmasq]
|
||||
command = pkill -HUP dnsmasq
|
||||
# jeśli systemctl nie działa:
|
||||
# command = rc-service dnsmasq reload
|
||||
# lub:
|
||||
# command = pkill -HUP dnsmasq
|
||||
pid_file = /run/dnsmasq/dnsmasq.pid
|
Reference in New Issue
Block a user