/[smecontribs]/rpms/madsonic/contribs10/madsonic.service
ViewVC logotype

Annotation of /rpms/madsonic/contribs10/madsonic.service

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


Revision 1.2 - (hide annotations) (download)
Fri Dec 30 05:35:56 2022 UTC (22 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: madsonic-6_2_9092-2_el7_sme
Changes since 1.1: +1 -0 lines
* Fri Dec 30 2022 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-2.sme
- fix madsonic fails as starting before network

1 jpp 1.1 [Unit]
2     Description=Madsonic media streaming solution
3 jpp 1.2 After= network-online.target
4 jpp 1.1
5     [Service]
6     EnvironmentFile=/etc/sysconfig/madsonic
7     User=madsonic
8     Group=madsonic
9     #Environment=MADSONIC_HOME=/var/madsonic MADSONIC_HOST=0.0.0.0 MADSONIC_PORT=4041 MADSONIC_HTTPS_PORT=0 MADSONIC_CONTEXT_PATH=/madsonic
10     ExecStart=/usr/bin/madsonic \
11     --init-memory=192 \
12     --pidfile=/run/madsonic/madsonic.pid \
13     --update=false \
14     --home=${MADSONIC_HOME} \
15     --host=${MADSONIC_HOST} \
16     --port=${MADSONIC_PORT} \
17     --https-port=${MADSONIC_HTTPS_PORT} \
18     --context-path=${MADSONIC_CONTEXT_PATH} \
19     --max-memory=${MADSONIC_MAX_MEMORY} \
20     --default-music-folder=${MADSONIC_DEFAULT_MUSIC_FOLDER} \
21     --default-upload-folder=${MADSONIC_DEFAULT_UPLOAD_FOLDER} \
22     --default-podcast-folder=${MADSONIC_DEFAULT_PODCAST_FOLDER} \
23     --default-playlist-import-folder=${MADSONIC_DEFAULT_PLAYLIST_IMPORT_FOLDER} \
24     --default-playlist-export-folder=${MADSONIC_DEFAULT_PLAYLIST_EXPORT_FOLDER} \
25     --default-playlist-backup-folder=${MADSONIC_DEFAULT_PLAYLIST_BACKUP_FOLDER} \
26     --default-transcode-folder=${MADSONIC_DEFAULT_TRANSCODE_FOLDER} \
27     --timezone=${MADSONIC_DEFAULT_TIMEZONE} \
28     --gzip=${MADSONIC_GZIP} \
29     --test=${MADSONIC_TEST}
30     KillMode=mixed
31     PIDFile=/run/madsonic/madsonic.pid
32     SuccessExitStatus=143
33    
34     [Install]
35     WantedBy=multi-user.target sme-server.target

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