Hello Gioele,
chkconfig is an outdated system and most Linux distributions (including RHEL/CentOS and Fedora) use systemd nowadays. You can add the file /etc/systemd/system/basex.service
[Unit] Description=BaseX database server
[Service] PIDFile=/var/run/basex.pid ExecStart=/your/path/to/basexserver
[Install] WantedBy=multi-user.target
This allows you to start/stop the BaseX server using
systemctl start/stop basex
Cheers, Dirk
On 02/04/2015 11:37 AM, Gioele Barabucci wrote:
Hello,
the RHEL/Centos/Fedora packages do not contain the /etc scripts needed to lauch BaseX as a normal chkconfig service.
Has anybody written such scripts? Could they be distributed inside the packages?
Regards,
-- Gioele Barabucci gioele@svario.it