1
0
Fork 0
mirror of https://gitlab.com/Shinobi-Systems/ShinobiCE.git synced 2025-03-09 15:40:15 +00:00
ShinobiCE/INSTALL/start.sh
Moe d0b12e92e7 Son Goku
- Rebased sql, test, web, defintions, languages, INSTALL, and libs folders.
2019-03-07 14:43:37 -08:00

10 lines
No EOL
230 B
Bash

#!/bin/bash
if [ -e "INSTALL/installed.txt" ]; then
echo "Starting Shinobi"
pm2 start camera.js
pm2 start cron.js
pm2 logs
fi
if [ ! -e "INSTALL/installed.txt" ]; then
chmod +x INSTALL/now.sh&&INSTALL/now.sh
fi