feat: use dedicated 'libretime' user

BREAKING CHANGE: The default `www-data` user has been replaced by a dedicated  `libretime` user to run the services. Be sure to change the ownership of the libretime files.
This commit is contained in:
jo 2022-07-06 16:21:40 +02:00 committed by Kyle Robbertze
parent 0bb792d047
commit 2f205544c2
16 changed files with 50 additions and 25 deletions

View file

@ -6,6 +6,4 @@ DEBIAN_FRONTEND=noninteractive apt-get update --allow-releaseinfo-change
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install auto-apt-proxy
# Install utils
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install alsa-utils vim
usermod -a -G audio vagrant
usermod -a -G audio www-data
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install vim

View file

@ -15,3 +15,8 @@ systemctl restart postgresql.service
# Setup rabbitmq management interface
rabbitmq-plugins enable rabbitmq_management
rabbitmqctl set_user_tags libretime administrator
# Setup audio
DEBIAN_FRONTEND=noninteractive apt-get -y -qq install alsa-utils
usermod -a -G audio vagrant
usermod -a -G audio libretime