saving uncommitted changes in /etc prior to apt run
This commit is contained in:
@@ -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'
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
git push --set-upstream origin $HOSTNAME
|
||||
Reference in New Issue
Block a user