Collaborate with systemd to load categorized envvars
This commit is contained in:
parent
ea474c6178
commit
be9faf5b08
8 changed files with 27 additions and 14 deletions
|
|
@ -1,8 +1,5 @@
|
|||
#! /usr/bin/sh
|
||||
|
||||
export BORG_REPO="/media/backup/"
|
||||
export BORG_PASSCOMMAND="cat ${HOME}/.keys/borg-passphrase.txt"
|
||||
|
||||
TS_DIR="$(systemd-path user-state-private)"/backup
|
||||
|
||||
mkdir -p "${TS_DIR}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue