This directory contains scripts that can be copied to a linux system to easy start and stop of the docker services.
- Copy the current directory to your linux system's root
/
. The current directories structure is created in a way so that the files are placed at the right location. - Edit the
/usr/lib/sonnen/application.properties
- EDIT the .env if needed:
/usr/lib/sonnen/.env
- Ensure the execution flag is set:
sudo chmod +x /usr/lib/sonnen/sonnen.sh
- Reload the systemd
sudo systemctl daemon-reload
. The service script can be found in/etc/systemd/system/sonnen.service
- Start the sonnen data logger:
sudo systemctl start sonnen
Stop the sonnen data logger: sudo systemctl stop sonnen
or
restart the sonnen data logger: sudo systemctl restart sonnen
.
Access the mongodb express web ui via http://<HOST_OR_IP>