@@ -146,8 +146,9 @@ rm -rf /usr/share/doc /usr/share/man /usr/share/info /usr/share/lintian
|
||||
find /usr/share/locale -mindepth 1 -maxdepth 1 ! -name 'en*' ! -name 'locale.alias' -exec rm -rf {} +
|
||||
rm -rf /root/.cache /root/.npm /root/.config /root/go /tmp/* /var/tmp/*
|
||||
|
||||
# Valkey opens its log file at startup; recreate the log directory the
|
||||
# cleanup above removed, with its package owner.
|
||||
# nginx and Valkey open their log files at startup; recreate the log
|
||||
# directories the cleanup above removed, with their package owners.
|
||||
install -d -o root -g adm /var/log/nginx
|
||||
install -d -o valkey -g adm -m 2750 /var/log/valkey
|
||||
|
||||
# --- sanity ------------------------------------------------------------------
|
||||
@@ -171,7 +172,7 @@ valkey-cli ping
|
||||
valkey-cli shutdown nosave
|
||||
psql --version
|
||||
postgres --version
|
||||
nginx -v
|
||||
nginx -t
|
||||
hugo version
|
||||
node --version
|
||||
npm --version
|
||||
|
||||
Reference in New Issue
Block a user