mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
install: restart process after installing addon
This commit is contained in:
1 parent
489a374445
commit
b7738c42fc
1 file changed
+4
-1
+4
-1
@@ -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',
|
||||||
],
|
],
|
||||||
|
|||||||
Reference in new issue
Block a user