about summary refs log tree commit diff
path: root/bin
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2021-12-10T14·10+0300
committerclbot <clbot@tvl.fyi>2021-12-10T15·09+0000
commitb8267c261ca647ea5465ac8c0be443c14e9f01b6 (patch)
tree1a8f0f99562c1f4c8bfbf9999e63bbdf6ddcc4a0 /bin
parent67bde5ecc3e03e1483039bf697bedd179fef617e (diff)
fix(ops/irccat): Avoid permissions issue with LoadCredentials= r/3191
The DynamicUser + Group configuration does not work as planned, thus
the systemd LoadCredentials feature is used instead which makes the
file (which itself is only readable by root) available in a
memory-backed location only readable by the service.

The secret is only available to `ExecStart` commands, so units using
this feature can not be used with pre/post units and the like if those
commands need secrets.

To accommodate this, the merge of configuration files has been moved
into the service launch script, which is now the ExecStart= process.

For details take a look at https://www.freedesktop.org/software/systemd/man/systemd.exec.html#LoadCredential=ID:PATH

Change-Id: I693fe5677cc0d63c7aa485c2c7472457c5262166
Diffstat (limited to 'bin')
0 files changed, 0 insertions, 0 deletions