Under Windows NT you must install Alkaline as a service. You can then instruct the Windows NT service
manager to start Alkaline each time your server boots up. For more information, please refer
to the Users Guide at
http://www.vestris.com/docs/alkaline/adv-ntservice.html
.
Under Unix there're scripts executed each time the server boots up. Such scripts usually
include /etc/rc.d/rc.local
or alike. This is where programs such as your email
service are launched. Add the command line to start Alkaline to one of these scripts.
For example you could use cd /usr/local/asearch; ./asearch 9999 alias &
to start Alkaline from rc.local.
Logon scripts are executed with root rights. It is not necessary and it is not advised
to run Alkaline as root as a simple security precaution. You might want to suid the
executable first. In order to do that your system must support suid
(running a program with the owner's rights), most Unix systems do unless the administrator has
specified the contrary. Then make sure that Alkaline belongs to a regular user and
run chmod 4755 asearch
. The manual pages for chmod will provide you
with extensive information on the 4xxx flag that suids the binary.
To check whether the binary has been suid correctly, try ls -la
; you should get
an 's' flag in the owner's file permissions:
-rwsr-xr-x 1 user group ... asearch.Linux
|