NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

djbii's avatar
djbii
Aspirant
Sep 11, 2016
Solved

How are apps started/stopped from the shell?

howdy, I'm running a readynas 314 with the latest OS 6.5.1 and I was wondering how the apps that I've installed are started and stopped via the command line (shell). Are they all systemctl 'under the hood'? How are apps started automatically at boot time?
  • It is beneficial to the RN314. At this stage we'd expect it to be available on the update server sometime this week.

4 Replies

Replies have been turned off for this discussion
  • mdgm-ntgr's avatar
    mdgm-ntgr
    NETGEAR Employee Retired

    The latest firmware is actually ReadyNAS OS 6.5.2 which is now available!

     

    We use systemctl for starting and stopping apps, as well as other services, yes. systemd service files are helpful for configuring things so that services start in the right order and for making sure that dependencies (if any) are running.

    So you could use commands such as:


    # systemctl stop fvapp-plexmediaserver

    # systemctl start fvapp-plexmediaserver
    # systemctl status -a fvapp-plexmediaserver

    # systemctl restart fvapp-plexmediaserver

     

    Starting and stopping things using SSH (like all changes using SSH) would be at your own risk. There are options in the GUI for starting and stopping apps. Though using SSH can be helpful for e.g. diagnosing why a service is failing to start if you can't get enough information when downloading the logs.

    • djbii's avatar
      djbii
      Aspirant
      Good news. Thanks for the info. I have installed an app but its not auto starting at boot (subsonic 6). Knowing where to look for logs etc is very handy. I'll also look at the latest version of the OS :-)
      • djbii's avatar
        djbii
        Aspirant
        It appears the latest version of the OS is not being offered to my RN314 when I press update firmware. It appears its not so important for the RN314 anyway? I have installed a newer version of subsonic (v6) on my system but it doesn't auto boot so I have to press [On] on the app page to get it started. I wanted to look under the hood and try to work out why its not auto starting. Knowing that all the apps are systemctl helps :-)

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More