Results 1 to 6 of 6
  1. #1
    jacatone is offline Member
    Join Date
    Jan 2009
    Posts
    6
    Rep Power
    0

    Default Problem with FreeRapid in Linux

    I'm using FreeRapid a file hosting Java downloading program in Linux. In Windows it allows me to auto shutdown when all downloads are done, but in Linux, I get the following error:

    System command "shutdown" is not supported or defined on this system. Check your settigs in the file "syscmd.properties".

    My "syscmd.properties" file displays the following:

    "# ******************************

    # ******** BASIC INFO **********

    # ******************************



    # This configuration file provides system commands/scripts for Java application

    # on Linux or MacOS operating system. MS Windows users don't need to use this file (it's ignored) at all.

    # If you make some good configuration for your system and if you want to share it, please don't hesitate to send this file to info@wordrider.net.

    # This file cannot have universal settings, because every UNIX implemenetation has own implementation of these commands.

    #

    # The commands are called from the application (eg. shutdown system, when all downloads are complete).

    # This configuration file has a syntax of Java properties file (key=value, # - line comment. \n - new line, \t - tabulator).

    #

    # Application searches for this file in its configuration directory as first (~/.APPCODE),

    # then it searches for this file in application's home directory.

    # It's recommended to copy this file to its configuration directory (~/.APPCODE) for easier upgrading to newer version of the application.



    # ******************************

    # ***** RUNTIME VARIABLES ******

    # ******************************



    # You can insert following variables into your values. These variables will be replaced on runtime.

    # %DIR% - current application directory (absolut path) - like /home/userid/appname

    # %VERSION% - application version - eg. 0.65

    # %PRODUCT% - product name - SuperSoftware

    # %APPVERSION% - product name + version - eg. SuperSoftware 0.65

    # %AUTHORS% - one line info about authors - eg. (c) Vity 2009

    # %ICON_PATH% - absolut path to icon file - eg. ~/appname/app.png

    # %SH_SCRIPT_PATH% - absolut path to shell script file running application - eg. /home/userid/appname/app.sh

    # %ARGS% - arguments, which were used for application start - eg. --debug





    # ******************************

    # ***** SYSTEM COMMANDS *******

    # ******************************

    # Uncomment line with command as needed





    #### Shortcuts commands

    # Meaning of these commands is obvious

    # Application WAITS for a result code.







    #create_desktop_shortcut=



    #create_startmenu_shortcut=



    #create_startup_shortcut=



    #create_quicklaunch_shortcut=



    #### Application restart command

    restart_application=java -jar %DIR%/frd.jar %ARGS%





    #### System shutdown commands

    # It's highly recommended to insert sleep pause (eg. 2 seconds) before executing this type of command.

    # Application DOESN'T WAIT for a result code.





    #

    system shutdown - poweroff - 'sudo poweroff'





    shutdown=



    #

    # system reboot - 'sudo reboot'

    #



    #reboot=



    #

    # system hibernate - suspend to disk

    #



    #hibernate=



    #

    # system standby - suspend to RAM

    #



    #standby=
    "


    Anyone know what setting I need to change to make this shutdown feature work in Linux? Thanks.

  2. #2
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  3. #3
    jacatone is offline Member
    Join Date
    Jan 2009
    Posts
    6
    Rep Power
    0

    Default

    No, where is it?

  4. #4
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

  5. #5
    jacatone is offline Member
    Join Date
    Jan 2009
    Posts
    6
    Rep Power
    0

    Default

    Ah, yeah, I read it but I don't understand script commands. That's why I asked if anyone could tell me what to do.

  6. #6
    Eranga's Avatar
    Eranga is offline Moderator
    Join Date
    Jul 2007
    Location
    Colombo, Sri Lanka
    Posts
    11,372
    Blog Entries
    1
    Rep Power
    19

Similar Threads

  1. problem in executing linux command
    By Basit56 in forum New To Java
    Replies: 1
    Last Post: 02-08-2010, 03:53 PM
  2. Replies: 6
    Last Post: 04-08-2009, 04:05 AM
  3. problem in installing app on Tomcat 6 at linux
    By sspbond007 in forum Advanced Java
    Replies: 2
    Last Post: 01-03-2009, 06:36 PM
  4. Problem locating resources on Linux.
    By jimm1 in forum New To Java
    Replies: 1
    Last Post: 01-18-2008, 06:34 PM
  5. problem with ServerSocket on Linux
    By gabriel in forum New To Java
    Replies: 1
    Last Post: 08-07-2007, 04:46 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •