Commit graph

6 commits

Author SHA1 Message Date
Phantasm
3b5b3ba4fc
openbsd: properly set daemon workdir, use default rc_start, set MIX_ENV in login.conf
Setting the MIX_ENV variable in rc_pre() isn't possible, because the
environment doesn't persist between rc_pre and rc_start(). This way we
can also ditch the custom rc_start() function in favor of the default
one which is just:

rc_start() {
	rc_exec "${daemon} ${daemon_flags}
}
2024-11-27 21:40:36 +01:00
Phantasm
a21e11f586
openbsd: unify IPvX placeholders in configs 2024-11-22 19:47:37 +01:00
Phantasm
427db32603
openbsd relayd: clarify certificate naming 2024-11-12 00:21:33 +01:00
Phantasm
3dc2655f59
openbsd: update relayd and httpd configuration files
* httpd: use proper server names
* httpd: add example of a very basic static website along with Pleroma
* httpd: let Pleroma serve robots.txt
* relayd: add example of forwarding to a basic httpd website
* relayd: remove appended response headers (most of them already served
  by Pleroma anyway)
* relayd: add comments about hosting Pleroma on subdomains
* relayd: reject request that don't belong to any forward
* relayd: add example of hosting media uploads on subdomain
* relayd: change forward timeout check to something sane that actually
  works
2024-11-12 00:07:58 +01:00
Phantasm
b2a716fc91
openbsd rc: replace deprecated flags, renamed to fit other service files 2024-11-12 00:03:41 +01:00
nonlinear
75f2177d5b Update/add OpenBSD config files 2018-12-15 14:00:00 -08:00