---
title: "StartupService"
slug: "startup-service"
updated: 2026-06-09T07:01:15Z
published: 2026-06-09T07:01:15Z
canonical: "docs.lobstersoftware.com/startup-service"
---
> ## Documentation Index
> Fetch the complete documentation index at: https://docs.lobstersoftware.com/llms.txt
> Use this file to discover all available pages before exploring further.
# StartupService
The StartupService is used to start applications at the startup time of the Integration Server. This can, for example, be used for initializing Lobster Integration or for setting up server processes.
## XML configuration
### Adding a startup application
The following XML fragment adds an application to the StartupService.
```xml
[possibly necessary settings of the startup application]
```
Following are the startup applications that are part of the Integration Server.
### Activating the GUIServerLogEraser
The GUIServerLogEraser is used to delete old GUIServer log entries. The following XML fragment adds it to the StartupService.
```xml
```
Further configuration is not required here.
### Enabling mail notification when the server shuts down
If an e-mail is to be sent to a specified list of recipients when the Integration Server shuts down, this can be done via the ShutdownApplication. The following XML fragment adds it to the StartupService.
```xml
```
Further configuration takes place in the configuration file ./conf/shutdown.properties. The structure of the file is described in section [Format of the ShutdownApplication configuration file](/docs/en/format-shutdown-application).
### Setting the default values for the MailManager
In order to simplify the sending of emails from applications, the Integration Server offers the so-called MailManager. In order for it to be able to send mails, it must be informed about the mail server to be used and any necessary authentications. There is a startup application for this, which can be integrated into the StartupService. This is done via the following XML fragment.
```xml
hostname
port
username
password
```
The arguments have the following meaning.
| Argument | Description |
| --- | --- |
| | The host name of the SMTP server to use. |
| | The port on which the SMTP server waits for incoming requests. Usually, that is port *25*. |
| | The user name to use for authentication. |
| | The password to use for authentication. |
**NOTE:** If no authentication is necessary, for example because this is an SMTP server that can only be reached internally, the last two arguments can be completely omitted when calling, so that only two arguments are passed.
### Setting a RemotePrintClient
If the Integration Server itself is to function as a RemotePrintClient, start a corresponding startup application that logs on to the system like a remote client and waits for incoming print jobs.
For this (actually local) client, a corresponding setting must, of course, be made within the RemotePrintServices as described in the corresponding section.
The following XML fragment adds the startup application intended for initializing a print client.
```xml
false
username
password
http://127.0.0.1/rps/PrintJobRetrieve/
```
The parameters have the following meaning.
| Parameter | Description |
| --- | --- |
| Verbose | If extended log messages are to be made, this parameter must be set to *true*. Otherwise, it can remain at the value *false*. |
| machineID | The user name to use for authentication. |
| authcode | The password to use for authentication. |
| serverServiceURL | The URL to use for the communication with the server. The exact structure of the URL depends on the settings made via *setContext* in the RemotePrintService. |
## Defining startup applications

**(1)** List of applications. The class name, the status and the timestamp of the last startup are displayed.
**(2)** An application can be started, stopped and removed via the context menu.
## Log level dependencies
Changes to the log level of the LogService have no influence on the logging behavior of the StartupService. Similarly, setting the **Verbose** mode has no effect.