Your mmserver script looks ok.
But mmserver.service looks wrong.
Try the following, I don't have fedora, I'm with mageia, which is also
rpm-based, I think it should work.
Make sure that your script mmserver is located in dir /etc/init.d
And I would also remove all links to mmserver script first.
You can use this to find them :
Code:
--------------------
$ find /etc/ -name "*mmserver" 2>/dev/null
--------------------
Here is my mmserver.service :
/etc/systemd/system/mmserver.service :
Code:
--------------------
[Unit]
Description=MusicMagicServer
After=squeezeboxserver.service
Requires=squeezeboxserver.service
[Service]
Type=oneshot
RemainAfterExit=no
ExecStart=/etc/init.d/mmserver start
ExecStop=/etc/init.d/mmserver stop
[Install]
WantedBy=multi-user.target
--------------------
To enable it at boot , type as root user :
Code:
--------------------
systemctl enable mmserver.service
--------------------
status :
Code:
--------------------
systemctl status mmserver.service
--------------------
start mmserver:
Code:
--------------------
systemctl start mmserver.service
--------------------
If you can start mmserver as root with the systemctl command, that
should be ok.
To enable the java gui, download the 32 bits version of java jre 1-5 at
:
http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downloads-javase5-419410.html
Its the Linux self-extracting file jre-1_5_0-linux-i586.bin
copy it in your MusicIp home, /opt/MusicMagicMixer/
and extract it by running the .bin
in a terminal :
Code:
--------------------
cd /opt/MusicMagicMixer/
chmod u+x jre-1_5_0-linux-i586.bin
./jre-1_5_0-linux-i586.bin
--------------------
it should create a jre1.5.0/ sub-directory
To run the java gui,
You'll have to type :
Code:
--------------------
export JAVA_HOME=jre1.5.0/
./MusicMagicMixer
--------------------
I made this very simple bash to run it easily :
(don't forget to make it runnable)
run_musicipgui.bsh
Code:
--------------------
#!/bin/bash
cd /opt/MusicMagicMixer/
export JAVA_HOME=jre1.5.0/
./MusicMagicMixer
--------------------
I hope that it will work. Sorry if my english is not very good.
Regards
LMS 7.9.0
on Linux Mageia 5 and RPI 3
1 SB3, 2 radio, 1 touch
Plugins : Trackstat, Smartmix, MusicIP, ...
------------------------------------------------------------------------
Antoniop's Profile: http://forums.slimdevices.com/member.php?userid=39292
View this thread: http://forums.slimdevices.com/showthread.php?t=107886
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins