You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
Mark van Renswoude ab72081467 Fixed import for case-sensitive systems 1 year ago
emails Implemented changing code ownership 3 years ago
lib Updated ALL the packages! 1 year ago
public Fixed import for case-sensitive systems 1 year ago
stuff Changed logo to be only slightly less cringy 3 years ago
.babelrc Updated ALL the packages! 1 year ago
.gitignore Added code and upload expiration checks 3 years ago
README.md Changed config from example to defaults file, merged with config.js 3 years ago
Recv.sublime-project Initial commit 3 years ago
config.defaults.js Added code and upload expiration checks 3 years ago
index.js Fixed 'forbidden' on /admin 3 years ago
package-lock.json Updated ALL the packages! 1 year ago
package.json Updated ALL the packages! 1 year ago
webpack.config.js Updated ALL the packages! 1 year ago

README.md

Installation

Copy config.defaults.js to config.js and change as required. Any settings left out will use the value from config.defaults.js.

To build the production version:

npm run build

Service on Linux (systemd)

/etc/systemd/system/recv.service:

[Unit]
Description=Recv

[Service]
ExecStart=/usr/bin/node /srv/recv/index.js
WorkingDirectory=/srv/recv
Restart=always
RestartSec=10                       # Restart service after 10 seconds if node service crashes
StandardOutput=syslog               # Output to syslog
StandardError=syslog                # Output to syslog
SyslogIdentifier=recv
User=recv

[Install]
WantedBy=multi-user.target
systemctl enable recv.service
systemctl start recv.service