Upload files to "/"
This commit is contained in:
13
dnsf.service
Normal file
13
dnsf.service
Normal file
@@ -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
|
||||||
3
dnsf_install.sh
Normal file
3
dnsf_install.sh
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
apt update
|
||||||
|
apt install -y python3-bpfcc python3-pip bpfcc-tools ipset
|
||||||
|
pip install --break-system-packages dnslib psutil
|
||||||
Reference in New Issue
Block a user