diff --git a/DnsServerApp.NETCore/supervisor.conf b/DnsServerApp.NETCore/supervisor.conf new file mode 100644 index 00000000..2272fbe6 --- /dev/null +++ b/DnsServerApp.NETCore/supervisor.conf @@ -0,0 +1,11 @@ +[program:dns] +command=/usr/bin/dotnet /etc/dns/DnsServerApp.dll +directory=/etc/dns/ +autostart=true +autorestart=true +stderr_logfile=/var/log/dns.err.log +stdout_logfile=/var/log/dns.out.log +environment=HOME=/etc/dns/ +stopsignal=INT +stopasgroup=true +killasgroup=true