Przeglądaj źródła

bin install test

zjcqoo 6 lat temu
rodzic
commit
5aa22a40a5
1 zmienionych plików z 13 dodań i 0 usunięć
  1. 13 0
      i.sh

+ 13 - 0
i.sh

@@ -0,0 +1,13 @@
+#!/usr/bin/env sh
+
+CDN=https://cdn.jsdelivr.net/gh/etherdream/jsproxy-bin@master/dist/
+DST=/home/jsproxy/setup.sh
+
+
+groupadd nobody
+useradd jsproxy -g nobody --create-home
+
+curl -s "$CDN/setup.sh" -o $DST
+chmod +x $DST
+
+su - jsproxy -c $DST