From a2b369b64abbfba853cbe40f59ef04937af6fc45 Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sat, 27 Apr 2024 08:28:02 -0400 Subject: [PATCH 1/2] Comment out the entire romm configuration file --- examples/config.example.yml | 98 +++++++++++++++++++------------------ 1 file changed, 51 insertions(+), 47 deletions(-) diff --git a/examples/config.example.yml b/examples/config.example.yml index e3dcf85d3..426d332c7 100644 --- a/examples/config.example.yml +++ b/examples/config.example.yml @@ -1,52 +1,56 @@ -exclude: - # Exclude platforms to be scanned - platforms: - - 'romm' +# This is an example of a RomM configuration file +# You can copy this file to a folder, rename it to 'config.yml', and mount it as per the example docker-compose.yml +# Uncomment the lines you want to use and modify the values to your needs - # Exclude roms or parts of roms to be scanned - roms: +# exclude: +# # Exclude platforms to be scanned +# platforms: +# - 'romm' - ## Single file games section. - # Will not apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.) - single_file: - # Exclude all files with certain extensions to be scanned - extensions: - - 'xml' - # Exclude matched file names to be scanned - names: - - 'info.txt' - - '._*' # Supports unix filename pattern matching - - '*.nfo' # Can also exclude files by extension +# # Exclude roms or parts of roms to be scanned +# roms: - ## Multi files games section - # Will apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.) - multi_file: - # Exclude matched 'folder' names to be scanned (RomM identifies folders as multi file games) - names: - - 'my_multi_file_game' - - 'DLC' - # Exclude files within sub-folders. - parts: - # Exclude matched file names to be scanned from multi file roms - # Keep in mind that RomM doesn't scan folders inside multi files games, - # so there is no need to exclude folders from inside of multi files games. - names: - - 'data.xml' - - '._*' # Supports unix filename pattern matching - # Exclude all files with certain extensions to be scanned from multi file roms - extensions: - - 'txt' +# ## Single file games section. +# # Will not apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.) +# single_file: +# # Exclude all files with certain extensions to be scanned +# extensions: +# - 'xml' +# # Exclude matched file names to be scanned +# names: +# - 'info.txt' +# - '._*' # Supports unix filename pattern matching +# - '*.nfo' # Can also exclude files by extension -system: - # Asociate different platform names to your current file system platform names - platforms: - # [your custom platform folder name]: [RomM platform name] - gc: 'ngc' # In this example if you have a 'gc' folder, RomM will treat it like the 'ngc' folder - psx: 'ps' # In this example if you have a 'psx' folder, RomM will treat it like the 'ps' folder - # Asociate one platform to it's main version - versions: - naomi: 'arcade' +# ## Multi files games section +# # Will apply to files that are in sub-folders (multi-disc roms, games with updates, DLC, patches, etc.) +# multi_file: +# # Exclude matched 'folder' names to be scanned (RomM identifies folders as multi file games) +# names: +# - 'my_multi_file_game' +# - 'DLC' +# # Exclude files within sub-folders. +# parts: +# # Exclude matched file names to be scanned from multi file roms +# # Keep in mind that RomM doesn't scan folders inside multi files games, +# # so there is no need to exclude folders from inside of multi files games. +# names: +# - 'data.xml' +# - '._*' # Supports unix filename pattern matching +# # Exclude all files with certain extensions to be scanned from multi file roms +# extensions: +# - 'txt' -filesystem: - # The folder name where your roms are located - roms_folder: 'roms' # For example if your folder structure is /home/user/library/roms_folder +# system: +# # Asociate different platform names to your current file system platform names +# platforms: +# # [your custom platform folder name]: [RomM platform name] +# gc: 'ngc' # In this example if you have a 'gc' folder, RomM will treat it like the 'ngc' folder +# psx: 'ps' # In this example if you have a 'psx' folder, RomM will treat it like the 'ps' folder +# # Asociate one platform to it's main version +# versions: +# naomi: 'arcade' + +# filesystem: +# # The folder name where your roms are located +# roms_folder: 'roms' # For example if your folder structure is /home/user/library/roms_folder From f2f2b3b0cdb891f030c205d2cfa4d00e2777cc3b Mon Sep 17 00:00:00 2001 From: Georges-Antoine Assi Date: Sun, 28 Apr 2024 09:10:10 -0400 Subject: [PATCH 2/2] clear leftover pid files --- docker/init_scripts/init | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker/init_scripts/init b/docker/init_scripts/init index 4130a3977..2786a8821 100755 --- a/docker/init_scripts/init +++ b/docker/init_scripts/init @@ -120,6 +120,9 @@ cd /backend || { error_log "/backend directory doesn't seem to exist"; } info_log "Starting up, please wait..." +# clear any leftover PID files +rm /tmp/*.pid -f + # function definition done, lets start our main loop while true; do # check for died processes every 5 seconds