Changes between Version 5 and Version 6 of ethercalc


Ignore:
Timestamp:
Dec 13, 2019, 5:22:51 PM (4 years ago)
Author:
Jamie McClelland
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • ethercalc

    v5 v6  
    1313That created a directory structure in /home/calc/node_modules.
    1414
    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
     15The init script is handled by systemd (`systemctl status ethercalc`).
    2516
    2617We running apache which passed through traffic to ethercalc. The apache file (in site-enabled) has the following content:
     
    5849
    5950{{{
    60 sv restart ethercalc && systemctl restart apache2
     51systemctl restart ethercalc && systemctl restart apache2
    6152}}}
    6253