update readme

This commit is contained in:
2023-04-03 10:25:20 +10:00
parent 75468ee8f3
commit 97598fe01b

View File

@@ -32,4 +32,21 @@ This isn't super secure, probably not even as secure as Hashicorp Vault running
## Systemd script
Create/update the systemd service definition at /etc/systemd/system/ccsecrets.service and then run systemctl daemon-reload
```
[Unit]
Description=CC Secrets Service
After=network.target
#StartLimitIntervalSec=0
[Service]
Type=simple
Restart=always
RestartSec=1
User=root
ExecStart=/srv/ccsecrets/ccsecrets
[Install]
WantedBy=multi-user.target
```
## API