Skip to content

Daemonization Under Linux

Mohamed Samy edited this page Jun 2, 2020 · 1 revision

Introduction

The following applies to SecureDNS Terminal Edition releases started from v0.2 Alpha.

  1. Run the following command:
sudo apt install libsodium-dev
vi /etc/systemd/system/securedns.service
  1. Past the following Unit File & Replace <Path> with Working Directory:
[Unit]
Description=securedns

[Service]
WorkingDirectory=<Path>/securedns
ExecStart=<Path>/securedns/Texnomic.SecureDNS.Terminal

[Install]
WantedBy=multi-user.target
  1. Change AppSettings.json Terminal Options Section As in Wiki Page

  2. Run the following command:

sudo systemctl daemon-reload
sudo systemctl status securedns
sudo systemctl start securedns