Skip to content
Other versions

Loading…

Configure Linux Service

You can configure Import Station as a service in Linux.

To do this, just follow these steps:

  1. Create a file called import-station.service inside the /etc/systemd/system folder

  2. The file content should be:

    [Unit]
    Description=import-station
    After=syslog.target
    [Service]
    User=userToExecuteImportStation
    ExecStart=/path/to/app/import-station.jar
    SuccessExitStatus=143
    [Install]
    WantedBy=multi-user.target
  3. To flag the application to start automatically on system boot, use the following command:

    systemctl enable import-station.service