DNSBlock
This commit is contained in:
14
agent/dnsblock-agent.service
Normal file
14
agent/dnsblock-agent.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[Unit]
|
||||
Description=DNSBlock Agent Service
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
WorkingDirectory=/opt/dnsblock
|
||||
ExecStart=/opt/dnsblock/venv/bin/python3 /opt/dnsblock/main.py
|
||||
Restart=always
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user