This is my first post here, and I'm glad to present to you the startup script.

Please note, this is the easiest using ssh, as you can just copy and paste the script, but not necessary. You can enable ssh in raspi-config. Read more about it here.

We'll get right into business with the script.

At first, type:

Code:

sudo nano /etc/init.d/superscript

This will open up the text file /etc/init.d/superscript.

Put the following code in it, any way you like (typing, pasting it, I recommend pasting though):

Code:

#!/bin/bash
cd /home/pi/blissflixx
sudo -u pi "./boot.sh"

Replace both "pi"'s with your username. We have to sudo the user because you cannot open BlissFlixx with elevated permissions.
Then, to save the script, press ctrl+x, then hit y for confirmation, and then enter/return.

This will save the script.
First off, make the script executable:

Code:

sudo chmod 755 /etc/init.d/superscript

Last thing to do is test the script by typing

Code:

/etc/init.d/superscript

Then, register it to start at boot:

Code:

sudo update-rc.d superscript defaults

And you're all done!
I hope you enjoyed my tutorial!
Have fun with it!

This is my first post here, and I'm glad to present to you the startup script.

Please note, this is the easiest using ssh, as you can just copy and paste the script, but not necessary. You can enable ssh in raspi-config. Read more about it here.

We'll get right into business with the script.

At first, type:

Code:

sudo nano /etc/init.d/superscript

This will open up the text file /etc/init.d/superscript.

Put the following code in it, any way you like (typing, pasting it, I recommend pasting though):

Code:

#!/bin/bash
cd /home/pi/blissflixx
sudo -u pi "./boot.sh"

Replace both "pi"'s with your username. We have to sudo the user because you cannot open BlissFlixx with elevated permissions.
Then, to save the script, press ctrl+x, then hit y for confirmation, and then enter/return.

This will save the script.
Test the script by typing

Code:

/etc/init.d/superscript

Last thing to do is to make it execute at startup. First off, make it executable:

Code:

sudo chmod 755 /etc/init.d/superscript

Then, register it to start at boot:

Code:

sudo update-rc.d superscript defaults

And you're all done!
I hope you enjoyed my tutorial!
Have fun with it!

I love the BlissFlixx project and spent time this weekend setting it up. Was successful and also torrented 2 movies today. Great work Mr. Bliss.

I thought of auto-start as a highly required feature and then I discovered this post which made me really happy.

I then tried setting up auto-start as mentioned in this thread but was not able to as everytime I rebooted, the blissflixx server did not start. I have followed the code as mentioned including the chmod requirement. Any way we can debug this?

This is the last of my requirements from Raspberry pi if it can auto-start blissflixx. I have tried other auto-start options as well - rc.local, crontab etc. but with no success.

Looking for a revert if the forum is still active. Great work again guys!