geminispace.info

Unnamed repository; edit this file 'description' to name the repository.
git clone git://code.clttr.info/geminispace.info.git
Log | Files | Refs | README | LICENSE

commit fe33be1c978c66af467b16787b18e63672120acb
parent 7609836e3cd7b13f041996c2711853916aba3abe
Author: Natalie Pendragon <natpen@natpen.net>
Date:   Sat, 14 Nov 2020 11:06:51 -0500

Add systemd config

This is how GUS is already being run, so now checking the config into
the repository to start version controlling it.

Diffstat:
Ainfra/gus.service | 22++++++++++++++++++++++
1 file changed, 22 insertions(+), 0 deletions(-)

diff --git a/infra/gus.service b/infra/gus.service @@ -0,0 +1,22 @@ +# /etc/systemd/system/gus.service + +[Unit] +Description=Gemini Universal Search + +[Service] +User=gus +Group=gus +Type=simple +Restart=always +RestartSec=5 +WorkingDirectory=/home/gus/code/gus +Environment="PYTHONUNBUFFERED=1" +ExecStart=/home/gus/.poetry/bin/poetry run serve \ + --host 0.0.0.0 \ + --port 1965 \ + --hostname gus.guru \ + --tls-certfile certs/cert.pem \ + --tls-keyfile certs/key.pem + +[Install] +WantedBy=default.target