Hi Guix,

I'm having issues running Agate.

caleb@farnsworth ~$ sudo herd status agate
Password: 
● Status of agate:
  It is stopped.
  It is disabled.
  Provides: agate
  Requires: user-processes networking
  Will be respawned.
caleb@farnsworth ~$ 

Steps to reproduce:

## Agate

Agate is a simple Gemini protocol server.  To deploy it, add the
following code to the system configuration.

```
(service agate-service-type
         (agate-configuration
           (content "/srv/gemini")
           (certificates "/srv/gemini-certs")
           (hostnames '("gem.calebh.top"))))
```

Create directories.  Generate certs.

```
sudo mkdir /srv/gemini /srv/gemini-certs
cd /srv/gemini-certs
sudo openssl genpkey -out key.der -outform DER -algorithm RSA \
    -pkeyopt rsa_keygen_bits:4096
sudo openssl req -x509 -key key.der -outform DER -days 3650 -out
cert.der \
    -subj "/CN=calebh.top"
sudo chmod 400 key.der cert.der
```

Reconfigure system.

```
sudo guix system reconfigure
~/.dotfiles/Configs/guix/.config/guix/system/farnsworth.scm
```

Change cert ownership.

```
sudo chown agate:agate cert.pem key.rsa
```

Restart Agate.

```
sudo herd restart agate
```

Thanks,

-- 
Caleb Herbert
PO Box 234
East Lynne, MO 64743
🌐 https://calebh.top/
💬 [email protected] 🔐 FE9DD3AE E28C5818 E792C44F FA563E45
84A932E0 0186E293 D511434D 61B07067
                                                            

Reply via email to