- Add ampache crontab.
This commit is contained in:
parent
5859c4b949
commit
ad03b772e6
@ -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
|
Rx3/Ampache-Mga9 V 1.2.2 - A. GIBERT - 2024/10/06
|
||||||
------------------------------------------------------------------------------------------------------------------------------------
|
------------------------------------------------------------------------------------------------------------------------------------
|
||||||
|
@ -55,7 +55,7 @@ services:
|
|||||||
- ./etc/cron.d/ampache:/etc/cron.d/ampache:ro
|
- ./etc/cron.d/ampache:/etc/cron.d/ampache:ro
|
||||||
- /etc/passwd:/etc/passwd:ro
|
- /etc/passwd:/etc/passwd:ro
|
||||||
- /etc/group:/etc/group:ro
|
- /etc/group:/etc/group:ro
|
||||||
- /etc/shadow:/etc/shadow:ro
|
- /etc/shadow:/etc/shadow:ro
|
||||||
- ${MUSIC_REPO}:/media/music
|
- ${MUSIC_REPO}:/media/music
|
||||||
- ${VIDEO_REPO}:/media/video
|
- ${VIDEO_REPO}:/media/video
|
||||||
|
|
||||||
|
4
etc/cron.d/.gitignore
vendored
4
etc/cron.d/.gitignore
vendored
@ -1,4 +0,0 @@
|
|||||||
# Ignore everything in this directory
|
|
||||||
*
|
|
||||||
# Except this file
|
|
||||||
!.gitignore
|
|
5
etc/cron.d/ampache
Normal file
5
etc/cron.d/ampache
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user