aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagomeYae <[email protected]>2022-03-06 03:40:41 +0800
committerMagomeYae <[email protected]>2022-03-06 03:40:41 +0800
commitee8b4ab12c45a7f8f6ea8caaec769c24eaea5985 (patch)
tree7a2d9808010a5eb7444f59783971235672f84cef
parent2e078b7137e5cea9387f1e806a642608f9e78030 (diff)
fix(repo): Fix maddy hook script typo
Signed-off-by: MagomeYae <[email protected]>
-rw-r--r--README.md2
-rwxr-xr-xrepo/.hook/maddy2
-rw-r--r--repo/.verified_repos2
-rw-r--r--repo/ksutils-probe-client/PKGBUILD38
-rw-r--r--repo/ksutils-probe-client/default.toml6
-rw-r--r--repo/ksutils-probe-client/[email protected]16
6 files changed, 3 insertions, 63 deletions
diff --git a/README.md b/README.md
index 57ebe1a..d279688 100644
--- a/README.md
+++ b/README.md
@@ -32,7 +32,7 @@ _Except file under `repo` folder, this folder use [UNLICENSE](repo/UNLICENSE)_
[![](https://www.gnu.org/graphics/agplv3-155x51.png)](https://www.gnu.org/licenses/agpl-3.0.txt)
-Copyright (C) 2021 KunoiSayami && CoelacanthusHex
+Copyright (C) 2021-2022 KunoiSayami && CoelacanthusHex
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
diff --git a/repo/.hook/maddy b/repo/.hook/maddy
index 52e78cf..aef29ca 100755
--- a/repo/.hook/maddy
+++ b/repo/.hook/maddy
@@ -1,2 +1,2 @@
#!/bin/bash
-sed -i 's|foxcpp.dev/maddy-builds/|github.com/foxcpp/maddy/releases/download/v|g' \ No newline at end of file
+sed -i 's|foxcpp.dev/maddy-builds/|github.com/foxcpp/maddy/releases/download/v|g' PKGBUILD \ No newline at end of file
diff --git a/repo/.verified_repos b/repo/.verified_repos
index 16224fb..603d73b 100644
--- a/repo/.verified_repos
+++ b/repo/.verified_repos
@@ -8,7 +8,7 @@ gtk3-classic
hamradio-menus
konsole-dracula-git
ksutils-github-webhook
-ksutils-probe-client
+ksutils-status-upstream
kunoisayami-init
kunoisayami-meta
kunoisayami-repo-rsync
diff --git a/repo/ksutils-probe-client/PKGBUILD b/repo/ksutils-probe-client/PKGBUILD
deleted file mode 100644
index ade1afd..0000000
--- a/repo/ksutils-probe-client/PKGBUILD
+++ /dev/null
@@ -1,38 +0,0 @@
-# Maintainer: KunoiSayami <[email protected]>
-
-_basename=probe-client
-pkgname=ksutils-$_basename
-pkgver=2.4.4
-pkgrel=2
-pkgdesc='A probe client, for distributed systems'
-arch=('any')
-url=https://github.com/KunoiSayami/probe-client
-source=(
- git://github.com/KunoiSayami/probe-client#tag=2.4.2
- "default.toml")
-license=('AGPL3')
-sha512sums=(
- 'SKIP'
- '2895477aef4263fd9cb5fd7d594e064817872c298d30a46676b94274f542b31f0127be339d59d901c5f5691baf14b21861eea4b4b416a457bf9a6f371bd1bf82'
- '4750135cc721b513a009c1e656bb8a128ee5930eafa8976f0961258622a6af28c67f6eab89250be8d8cb4268b5c5b156b6b92cafdf130ffbc67d373a1ffb3b12')
-makedepends=('cargo' 'git')
-depends=('systemd')
-provides=("$_basename")
-options=(!lto)
-backup=("etc/ksutils/$_basename/default.toml")
-
-build() {
- cd "$_basename"
- cargo build --release
-}
-
-package() {
- install -dm700 "$pkgdir"/etc/ksutils/$_basename
- install -dm755 "$pkgdir"/usr/bin
- install -dm755 "$pkgdir"/usr/lib/systemd/system
-
- install -m755 "$_basename"/target/release/"$_basename" "$pkgdir"/usr/bin/"$pkgname"
- install -m600 default.toml "$pkgdir"/etc/ksutils/$_basename/
- install -m644 "[email protected]" "$pkgdir"/usr/lib/systemd/system/
-} \ No newline at end of file
diff --git a/repo/ksutils-probe-client/default.toml b/repo/ksutils-probe-client/default.toml
deleted file mode 100644
index 4b82423..0000000
--- a/repo/ksutils-probe-client/default.toml
+++ /dev/null
@@ -1,6 +0,0 @@
-[server]
-server_address = ""
-token = ""
-
-[statistics]
-enabled = false
diff --git a/repo/ksutils-probe-client/[email protected] b/repo/ksutils-probe-client/[email protected]
deleted file mode 100644
index deed1bb..0000000
--- a/repo/ksutils-probe-client/[email protected]
+++ /dev/null
@@ -1,16 +0,0 @@
-[Unit]
-Description=KunoiSayami utils Probe client service
-After=network-online.target
-
-[Service]
-Type=simple
-Restart=always
-RestartSec=10s
-Environment="RUST_LOG=info"
-ExecStart=/usr/bin/ksutils-probe-client -c %i.toml
-WorkingDirectory=/etc/ksutils/probe-client/
-KillSignal=SIGINT
-TimeoutStopSec=10
-
-[Install]
-WantedBy=multi-user.target