Event Timeline
Comment Actions
source $HOME/dev/python/vault/bin/activate
Needs hvac and pyyaml as packages to be installed on the server, Complector doesn't currently have hvac, only pyyaml.
Comment Actions
sudo kill -1 $(cat /var/run/vault.pid)
Error management should be done to check if that pids exist or return an error code.
Also, that script is probably a good candidate to run as vault or root user, sudo needs to be dropped.