diff options
| author | KunoiSayami <[email protected]> | 2022-08-22 15:02:30 +0800 |
|---|---|---|
| committer | KunoiSayami <[email protected]> | 2022-08-22 15:02:30 +0800 |
| commit | 083905c55021a3970c5f02ae879539a4627ff87e (patch) | |
| tree | bd43d66f2daff3354f2f8de136cdf6808be19fe4 /repo | |
| parent | 3116d53a27c14e9039423f51521fa51c9b653059 (diff) | |
feat(replace-pkg): Replace teamspeak-autochannel with teamspeak-management-tools
Signed-off-by: KunoiSayami <[email protected]>
Diffstat (limited to 'repo')
| -rw-r--r-- | repo/ksutils-teamspeak-autochannel/[email protected] | 16 | ||||
| -rw-r--r-- | repo/ksutils-teamspeak-management-tools/PKGBUILD (renamed from repo/ksutils-teamspeak-autochannel/PKGBUILD) | 18 | ||||
| -rw-r--r-- | repo/ksutils-teamspeak-management-tools/default.toml (renamed from repo/ksutils-teamspeak-autochannel/default.toml) | 14 | ||||
| -rw-r--r-- | repo/ksutils-teamspeak-management-tools/[email protected] | 16 |
4 files changed, 33 insertions, 31 deletions
diff --git a/repo/ksutils-teamspeak-autochannel/[email protected] b/repo/ksutils-teamspeak-autochannel/[email protected] deleted file mode 100644 index c5ce694..0000000 --- a/repo/ksutils-teamspeak-autochannel/[email protected] +++ /dev/null @@ -1,16 +0,0 @@ -[Unit] -Description=KunoiSayami utils TeamSpeak autochannel service -After=network-online.target - -[Service] -Type=simple -Restart=on-failure -RestartSec=10s -Environment="RUST_LOG=info" -ExecStart=/usr/bin/ksutils-teamspeak-autochannel %i.toml --systemd -WorkingDirectory=/etc/ksutils/teamspeak-autochannel/ -KillSignal=SIGINT -TimeoutStopSec=10 - -[Install] -WantedBy=multi-user.target diff --git a/repo/ksutils-teamspeak-autochannel/PKGBUILD b/repo/ksutils-teamspeak-management-tools/PKGBUILD index 37e3e40..931eab7 100644 --- a/repo/ksutils-teamspeak-autochannel/PKGBUILD +++ b/repo/ksutils-teamspeak-management-tools/PKGBUILD @@ -1,23 +1,23 @@ # Maintainer: KunoiSayami <[email protected]> -_original_name=teamspeak-autochannel -_basename=teamspeak-autochannel +_original_name=teamspeak-management-tools +_basename=teamspeak-management-tools pkgname=ksutils-$_basename -pkgver=2.2.4 -pkgrel=2 -pkgdesc='TeamSpeak auto channel rust implement' +pkgver=1.0.1 +pkgrel=1 +pkgdesc='A teamspeak tools that help you manage your teamspeak server (include auto channel).' arch=('any') -url=https://github.com/KunoiSayami/teamspeak-autochannel.rs +url=https://github.com/KunoiSayami/teamspeak-management-tools.rs source=( - $pkgname::git+https://github.com/KunoiSayami/teamspeak-autochannel.rs#tag=v$pkgver + $pkgname::git+https://github.com/KunoiSayami/teamspeak-management-tools.rs#tag=v$pkgver "default.toml" ) license=('AGPL3') sha512sums=( 'SKIP' - 'a8888343e3b9287a27804a011afba227352430071ae4e816055dc1f8ebba89d18a3150a3dda13774cd41865b6b1842df8ea6a76a05704b8de38d44dd37401430' - '8b068b83fa0a996ccf461d0a8bab539b62dfc4fbfd8c0e9090f9dab8c5d44624780051f7c820cd566e306ec1a3322428f28f28c57779e657308495c0e397871f' + 'edd4978a3b05b14d6352ca74e328c30af03e8665e786c4f8474df66bd9249d534a665891fdb9cf42e400f35a3887ec0cb95e10c7f32a1d2898fbd4b485aaf1b7' + '7e6d378c49ed01bce2ecb92f6226204ce644fb379b6c6b2c82d951b45c898d0a59971dd198e4add35998918a20dfccad00f005dd4057e8fa15e7bdbf3ae53424' ) makedepends=('cargo' 'git') depends=('redis') diff --git a/repo/ksutils-teamspeak-autochannel/default.toml b/repo/ksutils-teamspeak-management-tools/default.toml index 346d199..4d55724 100644 --- a/repo/ksutils-teamspeak-autochannel/default.toml +++ b/repo/ksutils-teamspeak-management-tools/default.toml @@ -3,6 +3,8 @@ channel_id = [1, 2] privilege_group_id = 5 # redis_server = "" +ignore_user = ["serveradmin"] +whitelist_ip = [] # [[permissions]] # channel_id = 1 @@ -14,10 +16,12 @@ privilege_group_id = 5 # interval = 5 # [custom_message] -# channel_not_found = "I can't find you channel." -# create_channel = "Your Channel has been created!" # move_to_channel = "You have been moved into your channel." +[telegram] +api_key = "" +target = 0 + # [raw_query] # This section priority is higher than web_query # server = "" @@ -25,7 +29,5 @@ privilege_group_id = 5 # user = "serveradmin" # password = "114514" -[web_query] -# This method may significantly increase CPU usage. -server = "https://localhost:10080" -api_key = "BAA114514"
\ No newline at end of file + + diff --git a/repo/ksutils-teamspeak-management-tools/[email protected] b/repo/ksutils-teamspeak-management-tools/[email protected] new file mode 100644 index 0000000..8f59b9c --- /dev/null +++ b/repo/ksutils-teamspeak-management-tools/[email protected] @@ -0,0 +1,16 @@ +[Unit] +Description=KunoiSayami utils TeamSpeak management tools service +After=network-online.target + +[Service] +Type=simple +Restart=on-failure +RestartSec=10s +Environment="RUST_LOG=info" +ExecStart=/usr/bin/ksutils-teamspeak-management-tools %i.toml --systemd +WorkingDirectory=/etc/ksutils/teamspeak-management-tools/ +KillSignal=SIGINT +TimeoutStopSec=10 + +[Install] +WantedBy=multi-user.target |
