add systemd unit files

This commit is contained in:
root 2016-01-08 11:11:12 +00:00
parent 3497867cd2
commit 0767a37028
2 changed files with 14 additions and 0 deletions

6
whois42d.service Normal file
View File

@ -0,0 +1,6 @@
[Unit]
Description=Whois dn42 daemon
[Service]
ExecStart=/usr/local/bin/whois42d -registry /var/lib/whois42d/registry
User=nobody

8
whois42d.socket Normal file
View File

@ -0,0 +1,8 @@
[Unit]
Description=Whois dn42 daemon socket
[Socket]
ListenStream=43
[Install]
WantedBy=sockets.target