tangled
alpha
login
or
join now
hyperreal.bsky.moonshadow.dev
/
bin
0
fork
atom
Assorted shell and Python scripts
0
fork
atom
overview
issues
pulls
pipelines
Use EnvironmentFile
hyperreal.bsky.moonshadow.dev
1 month ago
d65aa779
07802347
+8
-2
1 changed file
expand all
collapse all
unified
split
borgbackup_export_desktop.sh
+8
-2
borgbackup_export_desktop.sh
···
1
1
#!/usr/bin/env bash
2
2
+
#
3
3
+
# systemd service - /etc/systemd/system/borgbackup-export-desktop.service
4
4
+
# EnvironmentFile=/etc/borgbackup-export-desktop.env
5
5
+
#
6
6
+
# /etc/borgbackup-export-desktop.env
7
7
+
# HC_PING_URL=
8
8
+
# RESEND_API_KEY=
9
9
+
# PATH="${PATH}:/home/linuxbrew/.linuxbrew/bin"
2
10
3
11
set -euxo pipefail
4
4
-
5
5
-
source "${HOME}/.env_common"
6
12
7
13
curl --retry 3 "${HC_PING_URL}/start"
8
14