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