mirror of
https://gitlab.com/Shinobi-Systems/ShinobiCE.git
synced 2025-03-09 15:40:15 +00:00
10 lines
No EOL
370 B
Bash
10 lines
No EOL
370 B
Bash
#!/bin/bash
|
|
installationDirectory="/home/Shinobi"
|
|
if [ -e "$installationDirectory/INSTALL/installed.txt" ]; then
|
|
echo "Starting Shinobi"
|
|
pm2 start $installationDirectory/camera.js
|
|
pm2 start $installationDirectory/cron.js
|
|
fi
|
|
if [ ! -e "$installationDirectory/INSTALL/installed.txt" ]; then
|
|
chmod +x $installationDirectory/INSTALL/now.sh&&INSTALL/now.sh
|
|
fi |