Skip to main content

Home

Automatic start/stop Unravel at system boot/shutdown

This document describes how to configure unravel for automatic start at system boot and stop at system shutdown.

Note

This configuration can be set only after you install Unravel.

Configuring automatic start/stop through systemd

Note

Before you configure automatic start/stop through systemd, ensure to stop Unravel.

<Unravel installation directory>/unravel/manager stop
  1. As a root user, copy /opt/unravel/services/system/unravel.service to /etc/systemd/system/.

  2. Make the new service accessible to systemd.

    systemctl daemon-reload
  3. Enable the service.

    systemctl enable unravel

    After you enable the service, Unravel can be started and stopped automatically by the system without user interaction.

  4. Start/stop Unravel with systemctl.

    systemctl start unravel
    systemctl stop unravel

    After Unravel is started by the system, you cannot start/stop Unravel using the Unravel manager utility. systemctl must be used. However, you can still use manager start/stop <service> to start/stop Individual services.

Configuring automatic start/stop through init.d

Note

Before you configure automatic start/stop through init.d, ensure to stop Unravel.

<Unravel installation directory>/unravel/manager stop
  1. As a root user, copy /opt/unravel/services/system/unravel.sh to /etc/init.d/.

  2. Make the new service accessible to the system.

    chkconfig --add unravel.sh

    After you add the unravel service, Unravel can be started and stopped automatically by the system without any user interaction.

  3. Start/stop Unravel.

    service unravel start
    service unravel stop

    After Unravel is started by the system, you cannot start/stop Unravel using the Unravel manager utility. service must be used. However, you can still use manager start/stop <service> to start/stop Individual services.