install: restart process after installing addon

pull/462/head
undefined 2 years ago
parent 489a374445
commit b7738c42fc

@ -391,7 +391,10 @@ connect-timeout = 10`);
{ {
init: 'install.postinstall', init: 'install.postinstall',
operations: [ operations: [
...installAsJudge ? [] : ['hydrooj install https://hydro.ac/language-server-0.0.1.tgz'], ...installAsJudge ? [] : [
'hydrooj install https://hydro.ac/language-server-0.0.1.tgz',
'pm2 restart hydrooj',
],
['pm2 install pm2-logrotate', { retry: true }], ['pm2 install pm2-logrotate', { retry: true }],
'pm2 set pm2-logrotate:max_size 64M', 'pm2 set pm2-logrotate:max_size 64M',
], ],

Loading…
Cancel
Save