Beta Release
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=dnsmasq - A lightweight DHCP and caching DNS server
|
||||
Requires=network.target
|
||||
Wants=nss-lookup.target
|
||||
Before=nss-lookup.target
|
||||
After=dnsmasq.service
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/python /home/beieli/root-bin/fakedns.py
|
||||
ExecStop=/usr/bin/pkill -f '/usr/bin/python /home/beieli/root-bin/fakedns.py'
|
||||
WorkingDirectory=/home/beieli/root-bin
|
||||
Restart=always
|
||||
StandardOutput=/var/log/fakedns
|
||||
StandardError=/var/log/fakedns
|
||||
User=root
|
||||
Group=root
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user