|
WD MyCloud and Minimserver
|
|
04-02-2018, 13:09
Post: #49
|
|||
|
|||
RE: WD MyCloud and Minimserver
(07-04-2017 20:21)Soli Wrote:(24-09-2016 10:16)simoncn Wrote:(24-09-2016 02:12)Soli Wrote: The My Book Live seems to use standard Debian SysV init. But for some reason it doesn't start. It does start when I log in and run /etc/init.d/minimserver start. I've tried giving it S99 and adding some required starts as seen in the twonky init file. It also doesn't seem to parce rc.local. Maybe mybooklive is doing it's own custom init. But if you look at some other guides to installing squeezebox server and other things, they are using init.d. Kinda strange but I haven't had time to figure this out yet. I can't see that new thread, but I have made the init process on my MyBookLive kick off the minimserver. Here's the net effect of what I did (see below for the twists along the way): Create the attached file as /etc/init.d/minimserver - note that it refers to the location of the minimserver installation - this may need editting. Then, at the comand prompt: MyBookLive:~# chmod 755 /etc/init.d/minimserver MyBookLive:~# ln -s ../init.d/minimserver /etc/rc2.d/S99minimserver This creates a link from /etc/rc2.d to the executeable file in /etc/init.d Executeables in rc2.d are run at the second phase of reboot and S99... files are invoked at the last gasp (ie 99th out of 99). After creating the file & permission & link, the command: MyBookLive:~# /etc/rc2.d/S99minimserver start Will start minimserver, and this will be invoked at reboot. Now the twists: at first, I created the /etc/init.d/minimserver file with the contents "cd /shares/Public/Minim/minimserver/bin && ./startd ; cd -" and on running it for the first time, got the message Migrating autostart configuration This is issued by minim, and the file is replaced with contents close to the attached file. However, the PATH doesn't contain Java, so I put this in: "PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin" Thanks to all for helping make this work, special thanks to Simon. minimserver.txt (Size: 1.82 KB / Downloads: 3)
|
|||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)

Search
Member List
Calendar
Help



