From deba76334b99a506d04c74032d32fa16e0a2f904 Mon Sep 17 00:00:00 2001 From: matt Date: Fri, 31 Oct 2025 08:34:33 -0600 Subject: [PATCH] Upload files to "/" --- dnsf.service | 13 +++++++++++++ dnsf_install.sh | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 dnsf.service create mode 100644 dnsf_install.sh diff --git a/dnsf.service b/dnsf.service new file mode 100644 index 0000000..5a7dd87 --- /dev/null +++ b/dnsf.service @@ -0,0 +1,13 @@ +[Unit] +Description=dnsf +After=network.target + +[Service] +WorkingDirectory=/etc/dnsf +# Update with commands given by bitbucket to get correct auth keys +ExecStart=/usr/bin/python3 '/home/matt/Desktop/dnsf.py' +Restart=always +Type=simple + +[Install] +WantedBy=multi-user.target diff --git a/dnsf_install.sh b/dnsf_install.sh new file mode 100644 index 0000000..122d95c --- /dev/null +++ b/dnsf_install.sh @@ -0,0 +1,3 @@ +apt update +apt install -y python3-bpfcc python3-pip bpfcc-tools ipset +pip install --break-system-packages dnslib psutil