#!/usr/bin/env sh set -xe # setup /etc/uni-sync/uni-sync.json uni-sync # setup our basic scripts ln -sf $(pwd)/main.py /usr/local/bin/uni-sync-temp-timer mkdir -p /etc/uni-sync-temp-timer ln -sf $(pwd)/curves.json /etc/uni-sync-temp-timer/curves.json # systemd services ln -sf $(pwd)/uni-sync-temp-timer.service /etc/systemd/system/ ln -sf $(pwd)/uni-sync-temp-timer.timer /etc/systemd/system/ systemctl daemon-reload systemctl enable --now uni-sync-temp-timer.service