This repository contains a Bash script and a service file to automatically update Discord on Linux systems.
-
Copy the bash script wherever you want, I recommend in the /opt directory, which is designed for this purpose.
-
Modify the service file to make it execute the script you've copied with the correct path.
-
Copy the service file to /etc/systemd/system/
You can enable the updater with the following command:
sudo systemctl enable update-discord.service
You can also manually start the service with the following command:
sudo systemctl restart update-discord.service
If necessary, you can stop the service with the following command:
sudo systemctl stop update-discord.service
If you wish to disable the service, use the following command:
sudo systemctl disable update-discord.service