void-packages/srcpkgs/vault-acme/INSTALL
2021-09-03 16:16:46 -05:00

12 lines
326 B
Text

case "${ACTION}" in
post)
# Set CAP_IPC_LOCK capability or exit gracefully if we cannot
# set the capability due to invalid permissions (fakeroot
# install).
setcap 'cap_ipc_lock=+ep' /usr/libexec/vault/acme
if [ $? -ne 0 ]; then
echo "ERROR: failed to set cap_ipc_lock capability on vault-acme."
exit 0
fi
;;
esac