Assorted shell and Python scripts

Use EnvironmentFile

+8 -2
+8 -2
borgbackup_export_desktop.sh
··· 1 1 #!/usr/bin/env bash 2 + # 3 + # systemd service - /etc/systemd/system/borgbackup-export-desktop.service 4 + # EnvironmentFile=/etc/borgbackup-export-desktop.env 5 + # 6 + # /etc/borgbackup-export-desktop.env 7 + # HC_PING_URL= 8 + # RESEND_API_KEY= 9 + # PATH="${PATH}:/home/linuxbrew/.linuxbrew/bin" 2 10 3 11 set -euxo pipefail 4 - 5 - source "${HOME}/.env_common" 6 12 7 13 curl --retry 3 "${HC_PING_URL}/start" 8 14