yum install -y gcc python3-devel python-virtualenv systemd-devel
apt install -y gcc libsystemd-dev pkg-config python3-dev python3-virtualenv
Build a virtual work environment for Python and install the requirements.
cd <repo content directory>
virtualenv -p python3 venv
source venv/bin/activate
pip install -r requirements.txt
ln -s <repo content directory>/az-file-backup/az-file-backup.service /etc/systemd/system/az-file-backup.service
ln -s <repo content directory>/az-file-backup/az-file-backup.timer /etc/systemd/system/az-file-backup.timer
systemctl daemon-reload
systemctl enable --now az-file-backup.timer