Jump to content
  • 0

Question

2 answers to this question

Recommended Posts

Posted

stop_server => 'alias ra_stop='/path/to/ra/athena-start stop'

start_server => 'alias ra_start='/path/to/ra/athena-start start'

restart_server => 'alias ra_restart='/path/to/ra/athena-start restart'

update_server => 'alias ra_upd='/path/to/ra/tools/update.pl'

 

Once all alias are define you could simply create some desktop file, to match the alias command.

Or simply create some desktop file with the full command like I gave you.

Both should work fine.

Posted (edited)

If that shortcut is for windows,

 

I use plink.exe + .bat combo to create something like that. (The code below is only for server that use username and password for authentication)

echo yes | plink -agent YOUR_USER_NAME@SERVER_IP -pw YOUR_PASSWORD "/path/to/ra/athena-start restart"

Save as something.bat. Put togather in a folder with plink.exe file. It should be working now.

 

You can always convert bat files to exe.

 

You can also warp togather plink + command.exe under 1 exe with custom message box.

 

This is the easiest way to me other than writing c++ code.

Edited by Kekwa

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...