cancel
Showing results for 
Search instead for 
Did you mean: 

Run alfresco start/stop scripts from Ubuntu desktop

dpapoutsis
Champ in-the-making
Champ in-the-making
Hi everyone…in our company we managed to successfully install Alfresco 2.0 on Ubuntu 7.04.  Smiley Very Happy

We are having problems creating Desktop scripts  to start / stop Alfresco-Tomcat.

We a desktop link to the following script that is located in the Alfresco directory:

#!/bin/sh
sudo ./alfresco.sh start

Any ideas will be much appreciated.
2 REPLIES 2

crafter
Champ in-the-making
Champ in-the-making
Right click your desktop and select "Create Launcher" in GNOME.

Otherwise create a file in your Desktop directory that look like this


[Desktop Entry]
Version=1.0
Encoding=UTF-8
Name=No name
Type=Application
Exec=/my_scripts/alfresco.sh start
TryExec=
Icon=/usr/share/pixmaps/myicon.png
X-GNOME-DocPath=
Terminal=false
Name[en_ZA]=Start Alfresco
GenericName[en_ZA]=Start Alfresco
Comment[en_ZA]=

dpapoutsis
Champ in-the-making
Champ in-the-making
I copied the contents in a desktop file but when I run it it does't start alfresco as it should do (like it does when we run it in terminal mode with sudo ./alfresco.sh start)

! My apologies if changed the script  and now it runs ok
  Thanks a lot for the info  Smiley Happy

  DKP.