diff --git a/config/loki-whois b/config/loki-whois deleted file mode 100755 index a1f40f0..0000000 Binary files a/config/loki-whois and /dev/null differ diff --git a/config/oxen-whois b/config/oxen-whois new file mode 100644 index 0000000..414dc67 Binary files /dev/null and b/config/oxen-whois differ diff --git a/config/loki-whois.service b/config/oxen-whois.service similarity index 50% rename from config/loki-whois.service rename to config/oxen-whois.service index 26b4a0e..4cd79f3 100644 --- a/config/loki-whois.service +++ b/config/oxen-whois.service @@ -1,13 +1,13 @@ [Unit] -Description=Loki-Whois: a whois server for loki blockchain +Description=oxen-whois: a whois server for loki blockchain Wants=lokinet.service After=lokinet.service [Service] User=_lokinet Group=_loki -SyslogIdentifier=loki-whois -ExecStart=/usr/local/bin/loki-whois +SyslogIdentifier=oxen-whois +ExecStart=/usr/local/bin/oxen-whois Restart=always AmbientCapabilities=CAP_NET_BIND_SERVICE diff --git a/installers/common.sh b/installers/common.sh index 2924dbf..986147e 100755 --- a/installers/common.sh +++ b/installers/common.sh @@ -265,10 +265,10 @@ function default_configuration() { sudo mv $webroot_dir/config/dhcpcd.conf /etc/dhcpcd.conf || install_error "Unable to move dhcpcd configuration file" sudo mv $webroot_dir/config/head /etc/resolvconf/resolv.conf.d/head || install_error "Unable to move resolvconf head file" sudo mv $webroot_dir/config/nftables.conf /etc/nftables.conf || install_error "unable to move nftables configuration file" -# Add loki-whois service - sudo mv $webroot_dir/config/loki-whois /usr/local/bin/loki-whois || install_error "unable to move loki-whois binary" - sudo mv $webroot_dir/config/loki-whois.service /etc/systemd/system/loki-whois.service || install_error "unable to move loki-whois.service to system" - sudo systemctl enable --now loki-whois #start loki-whois as service +# Add oxen-whois service + sudo mv $webroot_dir/config/oxen-whois /usr/local/bin/oxen-whois || install_error "unable to move oxen-whois binary" + sudo mv $webroot_dir/config/oxen-whois.service /etc/systemd/system/oxen-whois.service || install_error "unable to move oxen-whois.service to system" + sudo systemctl enable --now oxen-whois #start oxen-whois as service sudo rm /etc/resolv.conf sudo ln -s /etc/resolvconf/run/resolv.conf /etc/resolv.conf