In this guide, I'm going to setup a keyfile-encrypted LUKS partition. I will be using a single, max-size partition on a single physical device. My physical device is located at /dev/sde
parted /dev/sde
INFO global: Vagrant version: 2.1.2 | |
INFO global: Ruby version: 2.4.4 | |
INFO global: RubyGems version: 2.6.14.1 | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.1.2/gems/vagrant-2.1.2/bin/vagrant" | |
INFO global: VAGRANT_LOG="debug" | |
WARN global: resolv replacement has not been enabled! | |
INFO global: Plugins: |
INFO global: Vagrant version: 2.1.2 | |
INFO global: Ruby version: 2.4.4 | |
INFO global: RubyGems version: 2.6.14.1 | |
INFO global: VAGRANT_USR_DIR="/tmp/.mount_vagran8qCR4B/usr/bin/../" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/tmp/.mount_vagran8qCR4B/usr/bin/../.." | |
INFO global: VAGRANT_BIN_DIR="/tmp/.mount_vagran8qCR4B/usr/bin" | |
INFO global: VAGRANT_APPIMAGE="1" | |
INFO global: VAGRANT_LOG="debug" | |
WARN global: resolv replacement has not been enabled! |
<?php | |
namespace Muz\Beesite\Backend\DataStorage\EventListener; | |
use Doctrine\Common\EventSubscriber; | |
use Doctrine\ORM\Event\OnFlushEventArgs; | |
use Doctrine\ORM\Events; | |
/** | |
* @see http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/events.html#implementing-event-listeners |