GNAI-025: Fluxer-Chat-LXC CT 117 — komplett in Betrieb (fluxer.ghostnet.selfhost.eu) #21

Merged
spektr merged 72 commits from lxc/ct-117-gnai-025-fluxer-chat into main 2026-11-30 04:49:27 +01:00
2 changed files with 4 additions and 2 deletions
Showing only changes of commit cfc9597b30 - Show all commits
@@ -4,5 +4,5 @@ Description=Monthly restic check of the Litecoin wallet backup repository
[Service]
Type=oneshot
Environment=SSH_AUTH_SOCK=
ExecStart=/usr/bin/restic check --read-data-subset=5% -r {{ litecoin_backup_repository }} -o sftp.command="ssh -F {{ litecoin_backup_ssh_config }}" --password-file {{ litecoin_backup_password_file }}
ExecStart=/usr/bin/restic check --read-data-subset=5% -r {{ litecoin_backup_repository }} -o sftp.command="ssh -F {{ litecoin_backup_ssh_config }} {{ litecoin_backup_target_user }}@{{ litecoin_backup_target_host }} -s sftp" --password-file {{ litecoin_backup_password_file }}
Nice=10
@@ -12,7 +12,9 @@ export RESTIC_PASSWORD_FILE="{{ litecoin_backup_password_file }}"
# ssh resolves ~ from the passwd entry, not from $HOME, so the restic sftp
# backend gets a dedicated client config via sftp.command.
SFTP_COMMAND="ssh -F {{ litecoin_backup_ssh_config }}"
# restic 0.18: sftp.command is the COMPLETE ssh invocation (host and
# -s sftp included); restic does not append them when the option is set.
SFTP_COMMAND="ssh -F {{ litecoin_backup_ssh_config }} {{ litecoin_backup_target_user }}@{{ litecoin_backup_target_host }} -s sftp"
backup_dir="{{ litecoin_backup_wallet_dir }}"
today="$(date +%F)"