saving uncommitted changes in /etc prior to apt run

This commit is contained in:
pi
2021-12-01 11:29:50 +01:00
committed by caelebfi
parent 23a0c8ed67
commit 7baf025a35
3 changed files with 6 additions and 0 deletions
+1
View File
@@ -226,6 +226,7 @@ maybe chmod 0755 'etckeeper/commit.d/30darcs-add'
maybe chmod 0755 'etckeeper/commit.d/30git-add'
maybe chmod 0755 'etckeeper/commit.d/30hg-addremove'
maybe chmod 0755 'etckeeper/commit.d/50vcs-commit'
maybe chmod 0644 'etckeeper/commit.d/60-push'
maybe chmod 0755 'etckeeper/commit.d/99push'
maybe chmod 0644 'etckeeper/commit.d/README'
maybe chmod 0755 'etckeeper/daily'
+3
View File
@@ -20,3 +20,6 @@ PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin
47 6 * * 7 root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.weekly )
52 6 1 * * root test -x /usr/sbin/anacron || ( cd / && run-parts --report /etc/cron.monthly )
#
0 1 * * * root /usr/bin/restic -r /backup/restic-repositories/serviceraspi2 backup /docker --password-file /root/.resticpw
10 1 * * * root /usr/bin/restic -r /backup/restic-repositories/serviceraspi2 forget --keep-daily 7 --keep-weekly 2 --prune --password-file /root/.resticpw
+2
View File
@@ -0,0 +1,2 @@
#!/bin/sh
git push --set-upstream origin $HOSTNAME