update agate

This commit is contained in:
Malin Freeborn 2022-02-05 18:20:55 +01:00
parent d4b9c0b1e0
commit e0aa935d97
Signed by: andonome
GPG Key ID: 52295D2377F4D70F

View File

@ -3,7 +3,7 @@ title: "agate"
tags: [ "Documentation", "Networking" ] tags: [ "Documentation", "Networking" ]
--- ---
Make sure your dns is in order. Make sure your dns is in order.
My domain name is `belgradecats.tk`, so put your own in there. My domain name is `malinfreeborn.com`, so put your own in there.
Install agate by placing the binary somewhere or (on Arch): Install agate by placing the binary somewhere or (on Arch):
@ -27,6 +27,9 @@ Make a service file.
> sudo vim /etc/systemd/system/multi-user.target.wants/agate.service > sudo vim /etc/systemd/system/multi-user.target.wants/agate.service
Start agate once to make the certificates.
> agate --content /usr/share/gemini/gemini --hostname malinfreeborn.com --lang en-GB
``` ```
[Unit] [Unit]
@ -36,7 +39,7 @@ After=Network.target
[Service] [Service]
User=gemini User=gemini
Type=simple Type=simple
ExecStart=/usr/bin/agate -s --content /usr/share/gemini/gemini --key /usr/share/gemini/certs/key.pem --cert /usr/share/gemini/certs/cert.pem --hostname belgradecats.tk --lang en-GB ExecStart=/usr/bin/agate --content /usr/share/gemini/gemini --hostname malinfreeborn.com --lang en-GB
[Install] [Install]
WantedBy=default.target WantedBy=default.target