the most insecure commit I could make!
This commit is contained in:
parent
8e44b6e52c
commit
6a62893606
2
app.moon
2
app.moon
@ -30,3 +30,5 @@ class Simplex extends Application
|
||||
if @user
|
||||
if key = APIKeys\create(@user)
|
||||
return json: { success: true, :key }
|
||||
|
||||
[console: "/console"]: => return console.make(env: "all")(@)
|
||||
|
@ -18,7 +18,7 @@ fi
|
||||
|
||||
if [ -z PORT ]
|
||||
then
|
||||
PORT=9872
|
||||
PORT=9872 # TODO fix this does not work
|
||||
fi
|
||||
|
||||
### PREREQUISITES ###
|
||||
@ -70,7 +70,7 @@ then
|
||||
cd $INSTALL_DIR
|
||||
fi
|
||||
|
||||
# sudo luarocks install luacrypto # needed for lapis, but lapis doesn't install it
|
||||
sudo luarocks install luacrypto # needed for lapis, but lapis doesn't install it
|
||||
sudo luarocks install lapis
|
||||
sudo luarocks install moonscript
|
||||
sudo luarocks install bcrypt
|
||||
@ -111,7 +111,7 @@ ExecReload=$(which lapis) build production
|
||||
ExecStop=$(which lapis) term
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target" > /etc/systemd/system/
|
||||
WantedBy=multi-user.target" > /etc/systemd/system/simplex.service
|
||||
sudo systemctl daemon-reload
|
||||
sudo systemctl enable simplex.service
|
||||
|
||||
|
@ -1,6 +1,6 @@
|
||||
worker_processes ${{NUM_WORKERS}};
|
||||
error_log stderr notice;
|
||||
daemon off;
|
||||
daemon on;
|
||||
pid logs/nginx.pid;
|
||||
|
||||
events {
|
||||
|
Loading…
Reference in New Issue
Block a user