#####################################
# To run DIM DNS as service (daemon):
# 1) Make directory /opt/dim
# 2) Copy dim/linux/* to /opt/dim
# 3) Make /opt/dim/* executable
# 4) Run systemd_dimdns.sh install
# 5) Run systemd_dimdns.sh enable
# 6) Run systemd_dimdns.sh start
# Now DIM DNS is running as service.
#####################################
sudo mkdir -p /opt/dim
sudo cp ../dim/linux/* /opt/dim
sudo chown root:root /opt/dim/*
sudo chmod 755 /opt/dim/*
sudo ./systemd_dimdns.sh install
sudo ./systemd_dimdns.sh enable
sudo ./systemd_dimdns.sh start
sudo systemctl start dimdns.service
sudo systemctl status dimdns.service
#####################################
