As a standalone snap, there is not easy way to determine the starting, reloading and stopping of the vault service.
So, I am suggesting to add daemon feature, so that we are able to do the following
snap start vault, snap stop vault
snap logs vault
Assuming that the configuration file for vault is in /var/snap/vault/common/vault.hcl, and hence the corresponding start command command in a script may look like
/snap/bin/vault server -config /var/snap/vault/common/vault.hcl
As a standalone snap, there is not easy way to determine the starting, reloading and stopping of the vault service.
So, I am suggesting to add daemon feature, so that we are able to do the following
snap start vault
,snap stop vault
snap logs vault
Assuming that the configuration file for vault is in
/var/snap/vault/common/vault.hcl
, and hence the corresponding start command command in a script may look like