Sfoglia il codice sorgente

добавил команду в бутстрап

kpmy 9 anni fa
parent
commit
4a8a13b557
2 ha cambiato i file con 6 aggiunte e 0 eliminazioni
  1. 4 0
      DOCU.md
  2. 2 0
      static/bootstrap.lua

+ 4 - 0
DOCU.md

@@ -0,0 +1,4 @@
+http://d.ocsf.in:5984/_utils/index.html
+
+docker run -d -P --name xep --net host --restart always armhf/xep1 /home/xep/xep.sh
+

+ 2 - 0
static/bootstrap.lua

@@ -1,3 +1,5 @@
+os.exit = nil
+
 chat.addEventHandler("message", "пщ", function(evt)
 chat.addEventHandler("message", "пщ", function(evt)
    if evt.body == "пщ" then chat.send("пщ") end
    if evt.body == "пщ" then chat.send("пщ") end
 end)
 end)