- CentOS 7.0 x64 is installed (default install from DigitalOcean Droplet Manager)
- Logged in via ssh key with root privileges
- Using MongoDB as database
Install Remi Collet Repository:
yum install epel-release
| #!/bin/bash | |
| # Check if command was ran as root. | |
| if [[ $(id -u) -eq 0 ]]; then | |
| echo "The command \"sphp\" should not be executed as root or via sudo directly." | |
| echo "When a service requires root access, you will be prompted for a password as needed." | |
| exit 1 | |
| fi | |
| # Usage |
| {% assign emails = case.emails %} | |
| {% assign threadlength = emails.size|minus:1 %} | |
| {% for email in emails reversed %} | |
| {% if forloop.first %} | |
| {{email.new_html}} | |
| {% if email.agent %} | |
| {% if email.agent.signature %} |