At line 20 changed one line |
There is a script provided to give you the basics of starting and stopping CrushFTP. It might be overkill for your situation, but you are welcome to use it and modify it for your needs. The script is "[crushftp_init.sh|crushftp_init.sh]". You must edit the script the first time you use it to set the correct path in it. Additionally, make a copy of the script file as CrushFTP updates will overwrite it. |
There is a script provided to give you the basics of starting and stopping CrushFTP. It might be overkill for your situation, but you are welcome to use it and modify it for your needs. The script is "[crushftp_init.sh|crushftp_init.sh]". Its included with your download of CrushFTP already. You must edit the script the first time you use it to set the correct path in it. Additionally, make a copy of the script file as CrushFTP updates will overwrite it. |
At line 25 removed 23 lines |
|
__Alternate Start CrushFTP Method__ |
|
The key here is making sure you are in the CrushFTP directory (so its the working directory), and using the "-d" option to start in daemon mode. If you are not in the right directory when you start CrushFTP, it will start generating a new prefs.xml file and users folder from the new location where you started it. |
|
{{{ |
sudo java -Dcrushftp.version=5 -jar CrushFTP.jar -d |
}}} |
|
You may also want to start it so it stays running even when you logout. |
|
{{{ |
sudo nohup java -Dcrushftp.version=5 -jar CrushFTP.jar -d& |
}}} |
|
|
The "-?" option will list various command line options you can use: |
|
{{{ |
java -jar CrushFTP.jar -? |
}}} |
|
|
At line 76 changed one line |
__Alternate Stop CrushFTP Method__ |
__Alternate Start /Stop CrushFTP Methods__ |
At line 55 added 20 lines |
The key here is making sure you are in the CrushFTP directory (so its the working directory), and using the "-d" option to start in daemon mode. If you are not in the right directory when you start CrushFTP, it will start generating a new prefs.xml file and users folder from the new location where you started it. |
|
{{{ |
sudo java -Dcrushftp.version=5 -jar CrushFTP.jar -d |
}}} |
|
You may also want to start it so it stays running even when you logout. |
|
{{{ |
sudo nohup java -Dcrushftp.version=5 -jar CrushFTP.jar -d& |
}}} |
|
|
The "-?" option will list various command line options you can use: |
|
{{{ |
java -jar CrushFTP.jar -? |
}}} |
|
|