How do You get Shinobi to AutoStart on Boot?

bollar

Patron
Joined
Oct 28, 2012
Messages
411
I successfully installed Shinobi on FreeNAS 11.2-RELEASE using the instructions posted by @danb35 here: https://forums.freenas.org/index.php?threads/installing-shinobi-cctv-software-in-an-fn11-jail.58425/ (now unfortunately closed)

Shinobi has been much more reliable for me than ZoneMinder (which would shut down after a few hours).

I'd like to get it to start on boot, but haven't been able to work it out. I tried the script provided by @AfroUSA , but have the same issues he came across (blank screen): #13

Does anyone have a method that works?
 

bollar

Patron
Joined
Oct 28, 2012
Messages
411
No, still looking for a solution.
 

supremicus

Dabbler
Joined
Dec 27, 2011
Messages
18
Been awhile since i've used pm2 but if i remember correctly it should be
Code:
pm2 startup rcd
sysrc pm2_enable="YES"
cd yourshinobidirectory
pm2 start camera.js
pm2 save

That should generate the rc.d for pm2, set it to autoboot, load your js and save it to auto start whenever pm2 is started.
 

carlos juan

Dabbler
Joined
Sep 12, 2014
Messages
38
Been awhile since i've used pm2 but if i remember correctly it should be
Code:
pm2 startup rcd
sysrc pm2_enable="YES"
cd yourshinobidirectory
pm2 start camera.js
pm2 save

That should generate the rc.d for pm2, set it to autoboot, load your js and save it to auto start whenever pm2 is started.
Will try! Thank you :)
 
Top