refactor: system skeleton instead of common files
This commit is contained in:
parent
a5bc3f09f1
commit
e1c55a9c68
8 changed files with 3 additions and 7 deletions
3
.gitmodules
vendored
3
.gitmodules
vendored
|
@ -1,3 +0,0 @@
|
||||||
[submodule "secrets"]
|
|
||||||
path = secrets
|
|
||||||
url = git@git.ixvd.net:ixvd/secrets.git
|
|
1
secrets
1
secrets
|
@ -1 +0,0 @@
|
||||||
Subproject commit 9b3a0e179a13a79ba534de92898199821cf911b5
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ntfy() {
|
ntfy() {
|
||||||
sh /neb/common/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
sh /opt/ixvd/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
ntfy -m "performing backup..."
|
ntfy -m "performing backup..."
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ntfy() {
|
ntfy() {
|
||||||
sh /neb/common/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
sh /opt/ixvd/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
ntfy -m "forgetting old backups..."
|
ntfy -m "forgetting old backups..."
|
|
@ -1,7 +1,7 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
ntfy() {
|
ntfy() {
|
||||||
sh /neb/common/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
sh /opt/ixvd/ntfy.sh -s "/neb/secrets/ntfy/ixvd-backups" -u "https://push.ixvd.net/ixvd-backups" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
ntfy -m "pruning old backups..."
|
ntfy -m "pruning old backups..."
|
Loading…
Reference in a new issue