Running Applicare as a Service in a Linux Machine

Comments

1 comment

  • Rob Callow

    This is an old method if you are running a system with systemctl.

    In that case you need to create a file in /etc/systemd/system called applicare.service and put the following into it:

    [Unit]
    Description=applicare Service
    After=network.target

    [Service]
    Type=simple
    User=root
    ExecStart=/opt/Applicare/server/bin/startup.sh
    Restart=on-abort


    [Install]
    WantedBy=multi-user.target

    Then run systemctl daemon-reload

    Start Service - systemctl start applicare
    Stop Service - systemctl stop applicare
    Check Service status - systemctl status applicare
    To start the agent at boot - systemctl enable applicare

    To uninstall service
    systemctl stop applicare.service
    systemctl disable applicare.service
    rm -f /etc/systemd/system/applicare.service
    systemctl daemon-reload
    systemctl reset-failed

    0
    Comment actions Permalink

Please sign in to leave a comment.