Whatbox Logo
Login for certain variables to be updated with your slot's information

Wiki > Send

"A fork of Mozilla's Firefox Send. Mozilla discontinued Send, this fork is a community effort to keep the project up-to-date and alive."

Installation

  1. Clone the github repo git clone https://gitlab.com/timvisee/send.git

  2. Move into the directory cd send

  3. Install dependencies npm install

  4. Run the application screen -dmS send npm run prod

Send will be accessible at https://umbriel.whatbox.ca:1443

Automatically Restart

  1. Make a file to be used for the script. touch ~/send_restart.cron

  2. Edit the file and enter the text below. nano -w ~/send_restart.cron

#!/bin/bash
if screen -ls | grep send | tr -d "[:space:]" > /dev/null
then
        echo "Send is running."
else
        echo "Send is not running, starting Send."
        cd ~/send && screen -dmS send npm run prod
fi
  1. Save the file with Ctrl+x and the "y" and Enter to accept overwriting.

  2. Make the script executable. chmod +x ~/send_restart.cron

  3. Open your crontab. EDITOR=nano crontab -e

  4. Enter the following text

@reboot /home/user/send_restart.cron >/dev/null 2>&1
*/5 * * * * /home/user/send_restart.cron >/dev/null 2>&1
  1. Save the crontab with Ctrl+x and the "y" and Enter to accept overwriting.