Skip to content

ship systemd unit that sets keys from file #245

@ibotty

Description

@ibotty

I propose shipping and documenting the following unit that sets a key in /etc/stratisd/<pool>.key.

#/etc/systemd/system/stratisd-key@.service
[Unit]
Description = stratis set key from file
After = stratisd.service

[Service]
ExecStart=/usr/bin/stratis key set --keyfile-path /etc/stratisd/%i.key %i
RemainAfterExit=yes

[Install]
WantedBy = multi-user.target

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions