The traditional way of running the Harmony database server is by installing it as a daemon. This makes the database server launch immediately on boot, as user usabatch.
Using Service Launcher, it is possible to configure your database server to only launch its database server service as the logged-in user. This means the database will only be accessible if the user configured to run it is signed in. Although this may seem impractical, it may be preferable for security reasons, mainly that the logged-in user does not need to have administrator privileges to run services through Service Launcher.
If you have enabled the database server daemon, you will need to disable and stop it before you can configure it to launch with Service Launcher, to avoid launching two instances of the database server.
-
In a terminal, type in the following commands to stop, then disable the daemon:
$ sudo service toonboom_dbserver stop
$ sudo chkconfig toonboom_dbserver off
The database server daemon will stop and will no longer launch on boot.
-
Make sure you are currently signed-in as the user who will run the service.
NOTE This user will need to be logged in for the service to be running. The user does not need to have administrator privileges.
-
Do one of the following:
- If Service Launcher is not running, in the GNOME top menu, select Applications > Harmony 24 [Edition] > Service Launcher.
- If Service Launcher is already running, click on its icon in the system tray.
The Service Launcher application starts.
- Select the Database Server tab.
- Click on Launch to verify that the database server launches successfully through Service Launcher.
- Check the Launch when Service Launcher starts option.
-
In the top menu, select Server > Save All Settings.
From now on, the database server will launch through Service Launcher when you log in.
Comments
0 comments
Article is closed for comments.