892
edits
m |
|||
Line 214: | Line 214: | ||
== Configure the broker to auto-start == | == Configure the broker to auto-start == | ||
To configure the broker to start on boot, download the init script and place it in /etc/init.d: | |||
cd | |||
wget https://github.com/sudomesh/tunneldigger/raw/master/broker/scripts/tunneldigger-broker.init.d_alt | |||
sudo mv tunneldigger-broker.init.d_alt /etc/init.d/tunneldigger | |||
sudo chmod 755 /etc/init.d/tunneldigger | |||
Edit the script to ensure that the BROKER_DIR is set to the directory where tunneldigger broker resides on your system. | |||
Now configure the script to start and stop when your system boots up and shuts down: | |||
sudo update-rc.d tunneldigger defaults | |||
Reboot your system and verify that tunneldigger starts correctly. | |||
= Telling the sudo mesh organization about your relay node = | = Telling the sudo mesh organization about your relay node = |