Update loki-whois to oxen-whois

master
necro-nemsis 2 years ago
parent b2d139f68b
commit d1ca5872e1

Binary file not shown.

Binary file not shown.

@ -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

@ -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

Loading…
Cancel
Save