mirror of
https://gitcode.com/gh_mirrors/hy/Hydro.git
synced 2026-10-20 01:38:19 +08:00
migrate: add lock
This commit is contained in:
3 files changed
+19
-6
No files matched your search
@@ -520,6 +520,7 @@ ${nixConfBase}`);
|
||||
skip: () => migration !== 'hustoj',
|
||||
silent: true,
|
||||
operations: [
|
||||
'pm2 restart hydrooj',
|
||||
() => {
|
||||
const dbInc = readFileSync('/home/judge/src/web/include/db_info.inc.php', 'utf-8');
|
||||
const l = dbInc.split('\n');
|
||||
|
||||
Reference in new issue
Block a user