Mount LUKS encrypted volumes from command line
Mount a linux partition encrypted with LUKS using terminal
Install Crypsetup:
sudo apt-get install cryptsetup
To decrypt the volume:
sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume
sudo apt-get install cryptsetup
sudo cryptsetup luksOpen /dev/sda1 my_encrypted_volume
$query = \Drupal::entityQuery('node');
$query->condition(DOMAIN_ACCESS_FIELD, 'domain_id'); // Set the domain id hear
$query->condition('type', 'article');
$query->condition('status', 1);
/etc/rc.local is depricated on debian 9.
You can try this to add it. (Not tested)
1) Create the file : /etc/systemd/system/rc-local.service
# nano /etc/systemd/system/rc-local.service
2) Copy this text.
Juste enter the address of your share like:
smb://<IP or HOST>/<Folder>
Example:smb://192.168.0.1/DATA
smb://192.168.0.1/