Lindenii Project Forge
Login

server

Lindenii Forge’s main backend daemon
Commit info
ID
1c03893a403dfc95f99f6d6705d1eded76d48fe0
Author
Runxi Yu <me@runxiyu.org>
Author date
Fri, 14 Feb 2025 23:27:07 +0800
Committer
Runxi Yu <me@runxiyu.org>
Committer date
Fri, 14 Feb 2025 23:27:07 +0800
Actions
forge.scfg: Change default ssh host key path

Usually the user running the forge won't be able to read
/etc/ssh/ssh_host_ed25519_key, and OpenSSH likes to panic when it
doesn't like key permissions. People likely won't want their OpenSSH and
Lindenii SSH host keys to be the same anyway, so let's use
/etc/lindenii/ssh_host/ed25519_key for this.
http {
	net tcp
	addr :8080
	cookie_expiry 604800
}

ssh {
	net tcp
	addr :2222
	key /etc/ssh/ssh_host_ed25519_key
	key /etc/lindenii/ssh_host_ed25519_key
	root ssh://forge.example.org
}

general {
	title "Test Forge"
}

db {
	type postgres
	conn postgresql:///lindenii-forge?host=/var/run/postgresql
}

git {
	root /srv/git
}