diff --git a/whois42d.service b/whois42d.service new file mode 100644 index 0000000..65bce75 --- /dev/null +++ b/whois42d.service @@ -0,0 +1,6 @@ +[Unit] +Description=Whois dn42 daemon + +[Service] +ExecStart=/usr/local/bin/whois42d -registry /var/lib/whois42d/registry +User=nobody diff --git a/whois42d.socket b/whois42d.socket new file mode 100644 index 0000000..a983866 --- /dev/null +++ b/whois42d.socket @@ -0,0 +1,8 @@ +[Unit] +Description=Whois dn42 daemon socket + +[Socket] +ListenStream=43 + +[Install] +WantedBy=sockets.target