-
I just set up a Droplet with Digital Ocean (Ubuntu v22.10 w/ an Intel processor), and am seeking advice on the simplest way to install Agate on it, and to set it up as a service that runs automatically on boot. I came across this YouTube video tutorial which seemed fairly comprehensive, but which is labeled as being "OUT OF DATE", which is why I'm inquiring here. https://www.youtube.com/watch?v=ldPlP4xVIag Should I be using the "Cargo" method of installation, and if so, are there any specific instructions that I should adhere to given my Ubuntu version / platform? Or should I be installing from a pre-compiled binary (as demonstrated in the YouTube video), and if so -- which one? Lastly, how would I set Agate up as a service that runs automatically on boot? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 8 replies
-
Either Cargo or the pre-compiled binary is a good way to install the latest version. Downloading the binary is simpler and faster, unless you already have Rust/Cargo installed for other reasons. The latest binary release is always available here: https://github.com/mbrubeck/agate/releases You want the |
Beta Was this translation helpful? Give feedback.
Make sure agate is trying to create the certificates directory in a writeable location instead of the filesystem root. You can add
WorkingDirectory=~
to your[Service]
config so it is not running in the root directory, or you can pass--certs /home/gemini/certificates
as part of yourExecStart
command.