Configure Linux Service
Puede configurar Import Station como un servicio en Linux.
Para hacerlo, siga estos pasos:
-
Cree un fichero llamado import-station.service dentro de la carpeta /etc/systemd/system
-
El contenido del fichero debe ser:
[Unit]Description=import-stationAfter=syslog.target[Service]User=userToExecuteImportStationExecStart=/path/to/app/import-station.warSuccessExitStatus=143[Install]WantedBy=multi-user.target -
Para que la aplicación se inicie automáticamente al arrancar el sistema, use el siguiente comando:
systemctl enable import-station.service