Changes between Version 5 and Version 6 of ethercalc
- Timestamp:
- Dec 13, 2019, 5:22:51 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
ethercalc
v5 v6 13 13 That created a directory structure in /home/calc/node_modules. 14 14 15 The init script is handled by runit and is located in /etc/sv/ethercalc. The run file is: 16 17 {{{ 18 #!/bin/bash 19 20 exec 2>&1 21 exec chpst -e ./env -u calc:calc /usr/bin/nodejs /home/calc/node_modules/ethercalc/bin/ethercalc --basepath https://calc.mayfirst.org 22 }}} 23 24 And in the env directory, there is a file called NODE_ENV with the contents: production 15 The init script is handled by systemd (`systemctl status ethercalc`). 25 16 26 17 We running apache which passed through traffic to ethercalc. The apache file (in site-enabled) has the following content: … … 58 49 59 50 {{{ 60 s vrestart ethercalc && systemctl restart apache251 systemctl restart ethercalc && systemctl restart apache2 61 52 }}} 62 53