diff --git a/INSTALL-BIN.md b/INSTALL-BIN.md index 1af184428..4207024a3 100644 --- a/INSTALL-BIN.md +++ b/INSTALL-BIN.md @@ -1,9 +1,11 @@ # Installing Hush binaries -To install a Debian package (change the version to what to downloaded): +1. First [download the release](https://git.hush.is/hush/hush3/releases) you want to install. It will have a .deb file extension. - dpkg -i hush-3.6.2-amd4.deb +1. Next install the Debian package (change the version to what you downloaded above): -To uninstall: + dpkg -i hush-3.8.0-amd64.deb + +1. If you want to remove it, then run this to uninstall: apt-get remove hush diff --git a/doc/hushd-systemd.md b/doc/hushd-systemd.md index c63def8f5..8877fe127 100644 --- a/doc/hushd-systemd.md +++ b/doc/hushd-systemd.md @@ -14,17 +14,22 @@ How to stop the script: `systemctl stop --user hushd.service` How to restart the script: -`systemctl stop --user hushd.service` +`systemctl restart --user hushd.service` ## How to watch it as it starts -Use the following: +Use the following on most Linux distros: `watch systemctl status --user hushd.service` +If you're using Ubuntu 20.04, then try this instead as the above did not work for me on Ubuntu 20.04 server: +`tail -f ~/.hush/HUSH3/debug.log` + ## Troubleshooting * Don't run it with sudo or root, or it won't work with the wallet. ### To-do -* determine best method to get logs when using on Ubuntu server as it is not displayed when watching it or when start/stopping the systemd service (testd on Ubuntu server 20.04 running on VPS) +* Determine why Ubuntu 20.04 didn't produce the expected outcome with watch and systemctl +* Create the hushd rc.d script +* Create the hushd runit script