/[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.3 - (show annotations) (download)
Sat Jan 21 19:53:35 2023 UTC (21 months, 1 week ago) by jpp
Branch: MAIN
CVS Tags: madsonic-6_2_9092-3_el7_sme, HEAD
Changes since 1.2: +2 -0 lines
* Sat Jan 21 2023 Jean-Philippe Pialasse <tests@pialasse.com> 6.2.9092-3.sme
- fix failing service on update and few occasions [SME: 12305]

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

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