contrib/config/systemd/system/[email protected]
raw| 1 | # /etc/systemd/system/[email protected] |
| 2 | |
| 3 | [Unit] |
| 4 | Description=Custodia Secrets Service for %I |
| 5 | Documentation=https://github.com/latchset/custodia |
| 6 | Requires=custodia@%i.socket |
| 7 | After=network.target |
| 8 | |
| 9 | [Service] |
| 10 | Type=notify |
| 11 | ExecStart=/usr/sbin/custodia --instance=%i /etc/custodia/%i.conf |
| 12 | User=custodia |
| 13 | Group=custodia |
| 14 | ProtectSystem=full |
| 15 | ProtectHome=true |
| 16 | NoNewPrivileges=true |
| 17 | |
| 18 | [Install] |
| 19 | WantedBy=multi-user.target |