This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python3 | |
# Copyright 2020 | |
# Author: razaqq <github.com/razaqq> | |
import os | |
from argparse import ArgumentParser | |
from os import walk, remove, mkdir, access | |
from os.path import join, exists, isfile, splitext | |
from shutil import rmtree, copy |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# config | |
query_port=10102 | |
query_user=user | |
query_pass=pass | |
warning_secs=180 | |
warning_interval=30 | |
# the user which runs the server, used for fixing permissions |