diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 0f3c502..008d9bd 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,11 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Rx3/Ampache-Mga9 V 1.2.3 - A. GIBERT - 2024/10/xx +------------------------------------------------------------------------------------------------------------------------------------ + +- Fix crontab: user ampache user instead of root and add it to git. + + + ------------------------------------------------------------------------------------------------------------------------------------ Rx3/Ampache-Mga9 V 1.2.2 - A. GIBERT - 2024/10/06 ------------------------------------------------------------------------------------------------------------------------------------ diff --git a/compose.yaml b/compose.yaml index 4568826..e205409 100644 --- a/compose.yaml +++ b/compose.yaml @@ -55,7 +55,7 @@ services: - ./etc/cron.d/ampache:/etc/cron.d/ampache:ro - /etc/passwd:/etc/passwd:ro - /etc/group:/etc/group:ro - - /etc/shadow:/etc/shadow:ro + - /etc/shadow:/etc/shadow:ro - ${MUSIC_REPO}:/media/music - ${VIDEO_REPO}:/media/video diff --git a/etc/cron.d/.gitignore b/etc/cron.d/.gitignore deleted file mode 100644 index 5e7d273..0000000 --- a/etc/cron.d/.gitignore +++ /dev/null @@ -1,4 +0,0 @@ -# Ignore everything in this directory -* -# Except this file -!.gitignore diff --git a/etc/cron.d/ampache b/etc/cron.d/ampache new file mode 100644 index 0000000..3ae09d5 --- /dev/null +++ b/etc/cron.d/ampache @@ -0,0 +1,5 @@ +# /etc/cron.d/ampache: crontab fragment for ampache server + +PATH=/bin:/usr/bin:/usr/local/bin:/usr/local/sbin + +15 3 * * * apache cd /var/www; php bin/cli run:updateCatalog -v -c -e -a -g >/var/log/ampache/catalog_update.log 2>&1