upstream lessonweb {
server unix: /tmp/unicorn.sock;
}
sestatus -v
SELinux status: enabled
cat /var/log/audit/audit.log | grep nginx
stat /home/petrov
listen "/tmp/unicorn.sock", :backlog => 64
stat /home/petrov/lessonweb/tmp/sockets/unicorn.sock
ps aux | grep unicorn
unicorn_rails -c config/unicorn.rb -E production -D
kill -15 PID
# PID заменить на номер из unicorn.pid или на номер процесса из вывода ps
ls /home/petrov/lessonweb/tmp/pids/unicorn.pid
ls /home/petrov/lessonweb/tmp/sockets/unicorn.sock
rm -f /home/petrov/lessonweb/tmp/pids/unicorn.pid
rm -f /home/petrov/lessonweb/tmp/sockets/unicorn.sock
unicorn_rails -c config/unicorn.rb -E production -D
Set-GlobalAddressList "Default Global Address List" -RecipientFilter {(Alias -ne $null -and (ObjectClass -eq 'user' -or ObjectClass -eq 'Contact' -or ObjectClass -eq 'msExchSystemMailbox' -or ObjectClass -eq 'msExchDynamicDistributionList' -or ObjectClass -eq 'group' -or ObjectClass -eq 'publicFolder'))}