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

Contents of /rpms/madsonic/contribs10/madsonic.service

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


Revision 1.1 - (show annotations) (download)
Sat Jul 23 20:48:08 2022 UTC (2 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: madsonic-6_2_9092-1_el7_sme
* 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 [Unit]
2 Description=Madsonic media streaming solution
3
4 [Service]
5 EnvironmentFile=/etc/sysconfig/madsonic
6 User=madsonic
7 Group=madsonic
8 #Environment=MADSONIC_HOME=/var/madsonic MADSONIC_HOST=0.0.0.0 MADSONIC_PORT=4041 MADSONIC_HTTPS_PORT=0 MADSONIC_CONTEXT_PATH=/madsonic
9 ExecStart=/usr/bin/madsonic \
10 --init-memory=192 \
11 --pidfile=/run/madsonic/madsonic.pid \
12 --update=false \
13 --home=${MADSONIC_HOME} \
14 --host=${MADSONIC_HOST} \
15 --port=${MADSONIC_PORT} \
16 --https-port=${MADSONIC_HTTPS_PORT} \
17 --context-path=${MADSONIC_CONTEXT_PATH} \
18 --max-memory=${MADSONIC_MAX_MEMORY} \
19 --default-music-folder=${MADSONIC_DEFAULT_MUSIC_FOLDER} \
20 --default-upload-folder=${MADSONIC_DEFAULT_UPLOAD_FOLDER} \
21 --default-podcast-folder=${MADSONIC_DEFAULT_PODCAST_FOLDER} \
22 --default-playlist-import-folder=${MADSONIC_DEFAULT_PLAYLIST_IMPORT_FOLDER} \
23 --default-playlist-export-folder=${MADSONIC_DEFAULT_PLAYLIST_EXPORT_FOLDER} \
24 --default-playlist-backup-folder=${MADSONIC_DEFAULT_PLAYLIST_BACKUP_FOLDER} \
25 --default-transcode-folder=${MADSONIC_DEFAULT_TRANSCODE_FOLDER} \
26 --timezone=${MADSONIC_DEFAULT_TIMEZONE} \
27 --gzip=${MADSONIC_GZIP} \
28 --test=${MADSONIC_TEST}
29 KillMode=mixed
30 PIDFile=/run/madsonic/madsonic.pid
31 SuccessExitStatus=143
32
33 [Install]
34 WantedBy=multi-user.target sme-server.target

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