From e2fd3b00f3499b4c8b0865713e3b8acf06acac24 Mon Sep 17 00:00:00 2001
From: Lucas Bickel <hairmare@rabe.ch>
Date: Tue, 7 Mar 2017 16:16:03 +0100
Subject: [PATCH] Allow apache user alsa access

---
 Vagrantfile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Vagrantfile b/Vagrantfile
index e822f5290..e7558db8d 100644
--- a/Vagrantfile
+++ b/Vagrantfile
@@ -39,6 +39,8 @@ Vagrant.configure("2") do |config|
      rm ${alsa_deb}
      sudo DEBIAN_FRONTEND=noninteractive apt-get -y -m --force-yes install  alsa
      sudo usermod -a -G audio vagrant
+     # liquidsoap runs as apache
+     sudo usermod -a -G audio www-data
   SHELL
   config.vm.provision "shell", inline: "cd /vagrant; ./install -fIiapv --web-port=9080"
   config.vm.provision "shell", path: "docs/scripts/install.sh"