Email Configuration
By default, the email server settings are not configured. If you have a working email server you can continue to the steps below to get email notifications.
Configuring Email Server
To set up email delivery you’ll need to login to your appliance server.
cd /opt/sysward
Next open up the .env
file and add the following lines:
SMTP_HOST=""
SMTP_PORT=""
SMTP_USER=""
SMTP_PASSWORD=""
After doing that you can close the file and then restart the application:
sudo systemctl restart sysward
Email should now be working.
You can also verify that the environment variables got loaded by systemd
by checking proc
and looking for the sysward
process:
ps ax | grep syswawrd
cat /proc/PID/env