Go to file
Mark van Renswoude b2ab541fa6 Fixed 'forbidden' on /admin
Fixed logout menu item position in Firefox
2018-05-31 14:42:55 +02:00
emails Implemented changing code ownership 2018-05-13 09:33:10 +02:00
lib Fixed 'forbidden' on /admin 2018-05-31 14:42:55 +02:00
public Fixed 'forbidden' on /admin 2018-05-31 14:42:55 +02:00
stuff Changed logo to be only slightly less cringy 2018-03-22 21:03:33 +01:00
.babelrc IE compatibility (tested on 11 and Edge so far) 2018-05-01 20:53:29 +02:00
.gitignore Added code and upload expiration checks 2018-05-02 23:01:29 +02:00
README.md Changed config from example to defaults file, merged with config.js 2018-05-02 20:54:27 +02:00
Recv.sublime-project Initial commit 2018-03-19 07:48:05 +01:00
config.defaults.js Added code and upload expiration checks 2018-05-02 23:01:29 +02:00
index.js Fixed 'forbidden' on /admin 2018-05-31 14:42:55 +02:00
package-lock.json Implemented changing code ownership 2018-05-13 09:33:10 +02:00
package.json Implemented changing code ownership 2018-05-13 09:33:10 +02:00
webpack.config.js Production bundle optimizations 2018-04-29 22:33:27 +02:00

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