mirror of
https://github.com/status-im/fathom.git
synced 2025-03-01 11:30:28 +00:00
40 lines
1.3 KiB
Markdown
40 lines
1.3 KiB
Markdown
|
# Updating Fathom to the latest version
|
||
|
|
||
|
To update your existing Fathom installation to the latest version, first rename your existing Fathom installation so that we can move the new version in its place.
|
||
|
|
||
|
```
|
||
|
mv /usr/local/bin/fathom /usr/local/bin/fathom-old
|
||
|
```
|
||
|
|
||
|
Then, [download the latest release suitable for your system architecture from the releases page](https://github.com/usefathom/fathom/releases) and place it in `/usr/local/bin`.
|
||
|
|
||
|
```
|
||
|
wget https://github.com/usefathom/fathom/releases/download/latest-development/fathom-linux-amd64
|
||
|
mv fathom-linux-amd64 /usr/local/bin/fathom
|
||
|
chmod +x /usr/local/bin/fathom
|
||
|
```
|
||
|
|
||
|
If you now run `fathom --version`, you should see that your system is running the latest version.
|
||
|
|
||
|
```
|
||
|
$ fathom --version
|
||
|
Fathom version 1.0.0
|
||
|
```
|
||
|
|
||
|
|
||
|
### Restarting your Fathom web server
|
||
|
|
||
|
To start serving up the updated Fathom web application, you will have to restart the Fathom process that is running the web server.
|
||
|
|
||
|
If you've followed the [installation instructions](Installation%20instructions.md) then you are using Systemd to manage the Fathom process. Run `systemctl restart <your-fathom-service>` to restart it.
|
||
|
|
||
|
```
|
||
|
systemctl restart my-fathom-site
|
||
|
```
|
||
|
|
||
|
Alternatively, kill all running Fathom process by issuing the following command.
|
||
|
|
||
|
```
|
||
|
pkill fathom
|
||
|
```
|