NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
troystanway
May 17, 2014Tutor
Running a SSH Command at boot
I was wondering if you could help me a little bit.
I have installed utorrent server for Debian 7 x64, through ssh commandline on my ReadyNAS 314 OS6.1.8
To start utorrent server, i need to run this command from ssh
utserver -settingspath /apps/utorrent-server-alpha-v3_3/
How can I get it to auto start at the unit's boot, I have seen some scripts to be put in etc/init.d
But I have tried serveral times and I never works
Your help would be much appreciated, Thanks!
Troy
I have installed utorrent server for Debian 7 x64, through ssh commandline on my ReadyNAS 314 OS6.1.8
To start utorrent server, i need to run this command from ssh
utserver -settingspath /apps/utorrent-server-alpha-v3_3/
How can I get it to auto start at the unit's boot, I have seen some scripts to be put in etc/init.d
But I have tried serveral times and I never works
Your help would be much appreciated, Thanks!
Troy
5 Replies
Replies have been turned off for this discussion
- mdgm-ntgrNETGEAR Employee RetiredHave a look at the SDK: http://apps.readynas.com/pages/?page_id=68
- I did look through it quickly, I will have more time later...
Do you have a quick and easy solution for running the command at boot?
I appreciate you answering me! - mdgm-ntgrNETGEAR Employee Retiredsystemd is used to start services.
- I tried writing the config.xml like this:
But it still doesnt start the utorrent command and gives me an error when I toggle it in the frontview.<Application resource-id="utorrent-server-alpha-v3_3"><!-- 'resource-id' must be AppName -->
<Name>uTorrent Server</Name><!-- Any desciptive name, upto 48 chars -->
<Author>Random</Author><!-- Authors name. upto 48 chars -->
<Version>3.3 build 30470</Version><!-- Version -->
<RequireReboot>0</RequireReboot><!-- If non-zero, it indicate reboot is required. -->
<LaunchURL>http://localhost:8080/gui</LaunchURL><!-- 'localhost' will be replaced by framework JS. -->
<ConfigURL></ConfigURL>
<ReservePort>8080</ReservePort>
<ServiceName>utserver -settingspath /apps/utorrent-server-alpha-v3_3/</ServiceName>
<Description lang="en-us">uTorrent Server: A torrent downloader.</Description>
</Application> - xeltrosApprenticecheck cron with @boot flag in google.
otherwise the cleaner way is to do /etc/init.d script and use update-rc.
I don't know specific settings for readynas, so you might want to try in VM first. http://apps.readynas.com/pages/?page_id=143
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!