Improvements to the init process
Move some files to locations that make more sense... Downloads go to Downloads Init scripts go to an "init" directory Add a script for clearing up some memory - May or may not use it.
This commit is contained in:
16
overlay/opt/scripts/drop_caches.sh
Executable file
16
overlay/opt/scripts/drop_caches.sh
Executable file
@@ -0,0 +1,16 @@
|
||||
#!/usr/bin/env bash
|
||||
###
|
||||
# File: drop_caches.sh
|
||||
# Project: docker-steam-headless
|
||||
# File Created: Wednesday, 12th January 2022 5:08:46 pm
|
||||
# Author: Josh.5 (jsunnex@gmail.com)
|
||||
# -----
|
||||
# Last Modified: Wednesday, 12th January 2022 5:44:17 pm
|
||||
# Modified By: Josh.5 (jsunnex@gmail.com)
|
||||
###
|
||||
|
||||
# Clear out the memory page cache
|
||||
echo 1 > /proc/sys/vm/drop_caches
|
||||
|
||||
# Flush any FS buffers
|
||||
sync
|
||||
Reference in New Issue
Block a user