You can install cp2azure directly from PyPI:
sudo apt-get install libboost-python-dev
sudo pip3 install -U cp2azure
Update config.yml and run
cp2azure -c config.yml
Insert this snippet to the file /lib/systemd/system/cp2azure.service:
[Unit]
Description=COOPER cp2azure
After=network.target
[Service]
Type=simple
User=pi
ExecStart=/usr/local/bin/cp2azure -c /etc/cooper/cp2azure.yml
Restart=always
RestartSec=5
StartLimitIntervalSec=0
[Install]
WantedBy=multi-user.target
Start the service:
sudo systemctl start cp2azure.service
Enable the service start on boot:
sudo systemctl enable cp2azure.service
View the service log:
journalctl -u cp2azure.service -f
This project is licensed under the MIT License - see the LICENSE file for details.