Skip to content

Commit b7c1baf

Browse files
authored
Update install-ubuntu22.04.sh
1 parent bb7e774 commit b7c1baf

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

trunk/install/install-ubuntu22.04.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,8 @@ systemctl enable php$PHP_VER-fpm
212212

213213
if ps -C memcached; then
214214
sed -i 's/static $OJ_MEMCACHE=false;/static $OJ_MEMCACHE=true;/g' /home/judge/src/web/include/db_info.inc.php
215+
sed -i 's/-m 64/-m 8/g' /etc/memcached.conf
216+
/etc/init.d/memcached restart
215217
fi
216218

217219
/etc/init.d/mariadb start

0 commit comments

Comments
 (0)