diff --git a/README.md b/README.md index 25a0acb..27a736a 100644 --- a/README.md +++ b/README.md @@ -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