Project

General

Profile

Tigase as service on Linux

Julia Zashchitina
Added almost 4 years ago

Hello. As stated in documentation, 'InstallTigaseService.bat' script allows to install Tigase as service on Windows. Is there a way to do the same on Linux Ubuntu? Thanks in advance.


Replies (4)

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

Yes, under the scripts/ directory you have subdirectories for particular distributions (debian/ubuntu, gentoo, redhad) and within them the sys-init scripts to install (with the installation instructions for particular distribution within the files). Please also note the guide: su and init script

Added by Julia Zashchitina almost 4 years ago

Thank you, Wojciech. However, in our distribution we only found mandriva, redhat and gentoo subdirectories. Where can we look for the similar script for debian/ubuntu?

Added by Wojciech Kapcia TigaseTeam almost 4 years ago

I don't know what distribution you are using but it's present in those available in Files section, vide:

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-7.0.1-b3810 $ ls -lah scripts/ | grep debian
drwxr--r--  15 wojtek  staff   510B Mar 25 17:28 debian/

wojtek@atlantiscity.local ~/dev/tmps/tigase-server-7.0.1-b3810 $ ls -lah scripts/debian/
total 640
drwxr--r--  15 wojtek  staff   510B Mar 25 17:28 ./
drwxr-xr-x  27 wojtek  staff   918B Mar 26 12:46 ../
-rwxr--r--   1 wojtek  staff   265K Mar 25 17:28 changelog*
-rwxr--r--   1 wojtek  staff     2B Mar 25 17:28 compat*
-rwxr--r--   1 wojtek  staff   601B Mar 25 17:28 control*
-rwxr--r--   1 wojtek  staff   506B Mar 25 17:28 copyright*
-rwxr--r--   1 wojtek  staff   313B Mar 25 17:28 init-debian.properties*
-rwxr--r--   1 wojtek  staff   741B Mar 25 17:28 rules*
-rwxr--r--   1 wojtek  staff   543B Mar 25 17:28 tigase-debian.conf*
-rwxr--r--   1 wojtek  staff   1.1K Mar 25 17:28 tigase-install.sh*
-rwxr--r--   1 wojtek  staff   278B Mar 25 17:28 tigase.default*
-rwxr--r--   1 wojtek  staff   102B Mar 25 17:28 tigase.dirs*
-rwxr--r--   1 wojtek  staff   5.8K Mar 25 17:28 tigase.init.d*
-rwxr--r--   1 wojtek  staff   1.8K Mar 25 17:28 tigase.postinst*
-rwxr--r--   1 wojtek  staff   1.0K Mar 25 17:28 tigase.postrm*

Added by Julia Zashchitina almost 4 years ago

We indeed found debian directory in tigase-server-7.0.0-b3802-dist-max.zip. However, when we installed tigase server using tigase-server-7.0.0-b3802.jar this directory was not created. Anyway thank you very much.

    (1-4/4)