Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Autostart on headless NAS with FFP
09-09-2014, 19:52
Post: #2
RE: Autostart on headless NAS with FFP
(09-09-2014 14:00)alexinc Wrote:  Hi guys,

maybe its an easy task for linux maniacs but i just dont get it why minimserver doesnt autostart on my Medion headless NAS with FFP running!?

installation and starting with sh /ffp/opt/minimserver/bin/startd runs flawless. after that i created minimserver.sh with following content under /ffp/start/:

Code:
#!/ffp/bin/sh

# PROVIDE: minimserver

. /ffp/etc/ffp.subr

name="minimserver"
command="/ffp/opt/minimserver/bin/startd"

run_rc_command "$1"

and made it executable with

Code:
chmod a+x /ffp/start/minimserver.sh

when restarting NAS minimserver doesnt get loaded. when running maually

Code:
sh /ffp/start/minimserver.sh start

minimserver gets started as well, so no problem with script i guess. may it be a problem with user rights? i installed minimserver as root!?

thx i.a. alex

ps: when checking ffp-log it says

Code:
* /ffp/start/minimserver.sh ...
Starting /ffp/opt/minimserver_sorted/bin/startd

so script is initialized but doesnt execute minimserver. Sad

It appears this is trying to start /ffp/opt/minimserver_sorted/bin/startd. It also appears the correct path is /ffp/opt/minimserver/bin/startd. Could this be the cause of the problem?
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Autostart on headless NAS with FFP - simoncn - 09-09-2014 19:52

Forum Jump:


User(s) browsing this thread: 1 Guest(s)