mirror of
https://github.com/tildeclub/tilde.club.git
synced 2026-10-25 00:55:38 +00:00
bring on more tildes hopefully
This commit is contained in:
1 parent
c4d72ea94b
commit
109dda05c6
32 files changed
+2239
-1159
No files matched your search
@@ -0,0 +1,14 @@
|
||||
# New-host example using the published gemserv interface/[[server]] schema.
|
||||
# Confirm compatibility with your reviewed source revision before deployment.
|
||||
interface = ["[::]:1965"]
|
||||
log = "info"
|
||||
|
||||
[[server]]
|
||||
hostname = "tilde.example.net"
|
||||
dir = "/srv/gemini/content"
|
||||
cert = "/etc/gemserv/cert.pem"
|
||||
key = "/etc/gemserv/key.pem"
|
||||
index = "index.gmi"
|
||||
lang = "en"
|
||||
usrdir = true
|
||||
cgi = false
|
||||
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=Gemini publishing
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=gemini
|
||||
Group=gemini
|
||||
WorkingDirectory=/srv/gemini
|
||||
ExecStart=/usr/local/sbin/gemserv /etc/gemserv/config.toml
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
NoNewPrivileges=yes
|
||||
PrivateTmp=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=read-only
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in new issue
Block a user