/[smecontribs]/rpms/madsonic/contribs10/madsonic-6.2.9084-sysconfig.patch
ViewVC logotype

Annotation of /rpms/madsonic/contribs10/madsonic-6.2.9084-sysconfig.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (hide annotations) (download)
Sat Jul 23 20:48:07 2022 UTC (2 years, 3 months ago) by jpp
Branch: MAIN
* Fri Jul 22 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-1.sme
- update with log4j fixes and more
- systemd capable
- add mediasonic.test

1 jpp 1.1 diff -Nur --no-dereference madsonic-6.2.9092.old/root/etc/sysconfig/madsonic madsonic-6.2.9092/root/etc/sysconfig/madsonic
2     --- madsonic-6.2.9092.old/root/etc/sysconfig/madsonic 2022-01-26 10:57:08.000000000 -0500
3     +++ madsonic-6.2.9092/root/etc/sysconfig/madsonic 2022-07-23 16:39:49.208000000 -0400
4     @@ -24,3 +24,21 @@
5     # the music directories, otherwise changing album art and tags will fail.
6    
7     MADSONIC_USER=root
8     +
9     +###for madsonic.service
10     +MADSONIC_HOME=/var/madsonic
11     +MADSONIC_HOST=0.0.0.0
12     +MADSONIC_PORT=4041
13     +MADSONIC_HTTPS_PORT=0
14     +MADSONIC_CONTEXT_PATH=/madsonic
15     +MADSONIC_MAX_MEMORY=350
16     +MADSONIC_DEFAULT_MUSIC_FOLDER=/var/media
17     +MADSONIC_DEFAULT_UPLOAD_FOLDER=/var/media/incoming
18     +MADSONIC_DEFAULT_PODCAST_FOLDER=/var/media/podcast
19     +MADSONIC_DEFAULT_PLAYLIST_IMPORT_FOLDER=/var/media/playlists/import
20     +MADSONIC_DEFAULT_PLAYLIST_EXPORT_FOLDER=/var/media/playlists/export
21     +MADSONIC_DEFAULT_PLAYLIST_BACKUP_FOLDER=/var/media/playlists/backup
22     +MADSONIC_DEFAULT_TRANSCODE_FOLDER=
23     +MADSONIC_DEFAULT_TIMEZONE=EDT
24     +MADSONIC_GZIP=true
25     +MADSONIC_TEST=false
26     diff -Nur --no-dereference madsonic-6.2.9092.old/root/usr/share/madsonic/madsonic.sh madsonic-6.2.9092/root/usr/share/madsonic/madsonic.sh
27     --- madsonic-6.2.9092.old/root/usr/share/madsonic/madsonic.sh 2022-01-26 10:57:08.000000000 -0500
28     +++ madsonic-6.2.9092/root/usr/share/madsonic/madsonic.sh 2022-07-23 03:00:12.309000000 -0400
29     @@ -24,6 +24,7 @@
30     MADSONIC_PIDFILE=
31     MADSONIC_UPDATE=true
32     MADSONIC_GZIP=
33     +MADSONIC_TEST=true
34     MADSONIC_DB=
35     quiet=0
36    
37     @@ -68,6 +69,7 @@
38     echo " --update=VALUE Configure Madsonic to look in folder /update for updates. Default 'true'"
39     echo " --gzip=VALUE Configure Madsonic to use Gzip compression. Default 'true'"
40     echo " --quiet Don't print anything to standard out. Default false."
41     + echo " --test=VALUE Refer to local server for registering. Default true"
42     exit 1
43     }
44    
45     @@ -134,6 +136,9 @@
46     --db=?*)
47     MADSONIC_DB=${1#--db=}
48     ;;
49     + --test=?*)
50     + MADSONIC_TEST="true"
51     + ;;
52     --quiet)
53     quiet=1
54     ;;
55     @@ -179,6 +184,7 @@
56     -Dmadsonic.gzip=${MADSONIC_GZIP} \
57     -Dmadsonic.db="${MADSONIC_DB}" \
58     -Djava.awt.headless=true \
59     + -Dmadsonic.test="${MADSONIC_TEST}"\
60     -jar madsonic-booter.jar > ${LOG} 2>&1 &
61    
62     # Write pid to pidfile if it is defined.

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed