Incomplete
Details
Assignee
James B. ByrneJames B. ByrneReporter
James B. ByrneJames B. ByrneLabels
Priority
Trivial
Details
Details
Assignee
James B. Byrne
James B. ByrneReporter
James B. Byrne
James B. ByrneLabels
Priority
Created September 9, 2020 at 7:37 PM
Updated December 2, 2023 at 1:23 PM
Resolved October 16, 2023 at 2:50 PM
This a revised rc init script that works in the FreeBSD sh shell. It implements three service commands : Start, Status, and Stop. It has a dependency on Postgresql, places the log file in /var/log if not otherwise specified in /etc/rc.conf, and creates a pid file in /var/run/idempiere if not otherwise specified in rc.conf.
The idempiere home, user name and group can be set in rc.conf. If not specified in rc.conf then idempiere_home defaults to the first directory found ending in idempiere-server. The user and group default to idempiere/ The logfile and pidfile may be specified in rc.conf. The init script logs starts and stops to /var/log/idempiere_init.log.
The stop command uses the following three methods to stop the idempiere script: telnet to osgi console, SIGTERM, and SIGKILL applied in that order.