A few improvements to the systemd unit #1064
No reviewers
Labels
No labels
Bug
Cherry-picking
Database
Dependencies
Dependencies/Renovate
Difficulty
Easy
Difficulty
Hard
Difficulty
Medium
Documentation
Enhancement
Good first issue
Help wanted
Inherited
Matrix/Administration
Matrix/Appservices
Matrix/Auth
Matrix/Client
Matrix/Core
Matrix/Federation
Matrix/Hydra
Matrix/MSC
Matrix/Media
Meta
Meta/CI
Meta/Packaging
Priority
Blocking
Priority
High
Priority
Low
Security
Status/Blocked
Status
Confirmed
Status
Duplicate
Status
Invalid
Status
Needs Investigation
To-Merge
Wont fix
old/ci/cd
old/rust
No project
No assignees
4 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
continuwuation/continuwuity!1064
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "ginger/systemd-improvements"
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?
These should allow packaging for Arch, but are generally applicable to all distros.
thoughts:
We should be able to add multiple layers of config files, we're already doing that for env and command line args for example. We're using figment, it's just a matter of adding new bits here. Side node, I think we technically already do have that, just with continuwuity_config overides conduwuit_config and so on lmao.
@Jade wrote in #1064 (comment):
I noticed that while working on this, actually 💀 the question is if that's worth including in this PR or if we can stick with using systemd's
Environment
settingI mean honestly up to you, oh packaging wizard :P. I don't really know half of what I'm looking at here
If we do use
EnvironmentFile
, the docs should be modified to reflect that. Also on some package managers you have to manually specify it as "reserved" (i.e. uninstalling will not remove the file). Same as "stacked" configurations.@Kimiblock wrote in #1064 (comment):
(typo, I meant
Environment
notEnvironmentFile
)37d848b4ef
29f138ed0f
WIP: A few improvements to the systemd unitto A few improvements to the systemd unit29f138ed0f
e2f431d426
@ginger wrote in #1064 (comment):
Ummm, you mean writing configurations directly in a systemd override service?
@Kimiblock wrote in #1064 (comment):
User configuration will still be written in
conduwuit.toml
with this PR. I was thinking about ways to put vendor configuration in another configuration file instead of in the unit file, but I don't think that's necessary right now since the unit only changes a few options.e2f431d426
9a0116df61
@ginger wrote in #1064 (comment):
Ah yes, that's kinda annoying. I have 2 options on my mind rn:
a) support multiple configurations and stack them together
b) set
EnvironmentFile
in a service override file, and users can disable it via another override9a0116df61
314250a0a1
314250a0a1
4bdc2557d6
Is this good for merge?
@nex wrote in #1064 (comment):
Yes, this is good to merge.
4bdc2557d6
4a795a509c
4a795a509c
a3592bd3b7