Configure Linux Service

 You can configure Import Station as a service in Linux.

To do just follow these steps:

    1. Create a file called import-station.service inside /etc/systemd/system folder
    2. 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
Table of contents [ Hide Show ]