mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 03:49:25 +08:00
Update linux.sh
This commit is contained in:
@@ -60,6 +60,9 @@ Uninstall_App()
|
||||
# MemoryLimit=1G
|
||||
# CPUQuota=200%
|
||||
|
||||
# curl -v -H "Content-Type: application/json" -XPOST "http://localhost:3100/loki/api/v1/push" \
|
||||
# -d "{\"streams\": [{\"stream\": {\"test\": \"test\"}, \"values\": [[\"$timestamp\", \"test message\"]]}]}"
|
||||
|
||||
action=${1}
|
||||
if [ "${1}" == 'install' ];then
|
||||
Install_App
|
||||
|
||||
Reference in New Issue
Block a user