Overhaul OpenRC service file and disable busy wait by default #834
No reviewers
Labels
No labels
approved, awaiting change
bug
cannot reproduce
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs change/feedback
needs docs
needs tests
not a bug
not our bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
AkkomaGang/akkoma!834
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "Oneric/akkoma:openrc-upd"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Using
conf.dfiles for user configuration is standard practice with OpenRC; no need to edit service files.Also pass env vars the proper way with
--envinstead of exporting in the service script.Log output is now saved to a file instead of disappearing into the ether.
Additionally use
pre_startto run potentially needed recompiles with lower CPU priority as this can otherwise hog all CPU cores starving other services for a while.(Note
doascleans the env unless the system administrator changed its config, soexportwouldn't help here)5aeef6fd14a8a231c5b2late addition: disable busy waits in default OpenRC and SystemD from-source service files (disclaimer: i only tested the OpenRC one)
openrc-updto Overhaul OpenRC service file and disable busy wait by defaulthuh i didn't even know ERL_AFLAGS was a thing
cool