add sample config
This commit is contained in:
parent
b211b7edb1
commit
1c91fe5081
18
config.yaml.sample
Normal file
18
config.yaml.sample
Normal 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
13
secretshop.service
Normal 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
|
Loading…
Reference in New Issue
Block a user