add sample config

This commit is contained in:
Steve 2020-02-12 20:34:52 -05:00
parent b211b7edb1
commit 1c91fe5081
2 changed files with 31 additions and 0 deletions

18
config.yaml.sample Normal file
View File

@ -0,0 +1,18 @@
---
active_capsules:
- localhost
- localhost2
localhost:
Hostname: "localhost"
Port: "1965"
RootDir: "/var/gemini"
CGIDir: "/var/gemini/cgi"
KeyFile: "localhost.key"
CertFile: "localhost.crt"
localhost2:
Hostname: "gemini.saintnet.tech"
Port: "1966"
RootDir: "/var/gemini2"
CGIDir: "/var/gemini2/cgi"
KeyFile: "localhost2.key"
CertFile: "localhost2.crt"

13
secretshop.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=SecretSecret: A secret Gemini server
After=network.target
StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/usr/local/bin/secretshop
[Install]
WantedBy=multi-user.target