After installation, Appweb is normally started automatically as a
system service or system daemon by default. You can change this
behavior and only start Appweb manually if you wish.
This page gives information about starting and stopping Appweb as
a system service. Before you can run Appweb as a service, you
must first stop any running instance of Appweb. See
Starting and Stopping Appweb
for how to stop Appweb if it is running
manually.
Controlling Appweb as a Windows
Service
Starting and Stopping Appweb as a Service
To start or
stop Appweb as a service, use the Windows services control
applet. To invoke the applet, right click on
My
Computer and select
Manage. Then
click on Services and Applications in the left-hand pane. Select
Services underneath and then scroll in the right pane to find
Embedthis Appweb. Double click on this and select Start, Stop,
Pause or Resume as required.
NOTE: If you reboot your system, Appweb will still be
automatically started by the Windows Service Manager unless you
change the Startup Type to be
manual.
Removing Appweb as a Service
To permanently stop Appweb
running as a Windows Service, run the following command:
appweb -u
To reinstall Appweb to run as a Windows Service, run the
following command:
appweb -i "none"
You may replace "none" other appweb
command options inside quotes.
These options will take effect when Windows starts Appweb after a
system reboot.
You will still need to start the service via the Services control
applet once Appweb is reinstalled as a service.
Controlling Appweb as a Linux
Daemon
On Linux and Unix, system services are
called Daemons.
Stopping Appweb as a Daemon
To stop Appweb running as a
Daemon, on a Red Hat / Fedora system run the following
command:
/sbin/service appweb stop
To re-start Appweb to run as a daemon, run the following
command:
/sbin/service appweb start
On a Debian (Ubuntu) based system, run the following commands
/sbin/invoke-rc.d appweb start
/sbin/invoke-rc.d appweb stop
Removing Appweb as a Daemon
To permanently remove Appweb
from running as a Daemon, run the following command:
/sbin/chkconfig --del appweb
To reinstall Appweb to run as a daemon, run the following
command:
/sbin/chkconfig --add appweb
/sbin/chkconfig --level 5 appweb on
/sbin/service appweb start