Commit a83e42be authored by o@immerda.ch's avatar o@immerda.ch
Browse files

selinux ftw

parent 099805ab
......@@ -15,4 +15,6 @@ user=$(stat -c%U $base_path)
su - $user -s /bin/bash -c "cd $base_path && git pull -q"
su - $user -s /bin/bash -c "cd $base_path && SECRET_KEY_BASE=$skb scl enable rh-ruby25 -- $base_path/scripts/prepare_for_prod.sh"
restorecon -R -v /var/www/vhosts/users.immerda.ch/www/vendor/bundle/ruby/*/gems/nokogiri-*-x86_64-linux/lib/nokogiri/*/nokogiri.so
[ "${1}" == 'without-restart' ] || su - $user -s /bin/bash -c "touch ${base_path}/tmp/restart.txt"
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment