Skip to content

Commit

Permalink
Update install-ubuntu22.04.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
zhblue authored Oct 19, 2024
1 parent bb7e774 commit b7c1baf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions trunk/install/install-ubuntu22.04.sh
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,8 @@ systemctl enable php$PHP_VER-fpm

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

/etc/init.d/mariadb start
Expand Down

0 comments on commit b7c1baf

Please sign in to comment.