Setting up Arc as a Linux System Service

This article explain the steps to setup Arc as a Linux System Service:

The following steps require Systemd to be installed: https://www.freedesktop.org/wiki/Software/systemd/

Create a service unit file pointing to arc, the following is a sample where arc has been installed in under “/opt”, in this case we are locating the unit file under “/etc/systemd/system/”

[Unit]
Description=Arc for TM1
After=network.target

[Service]
ExecStart=/opt/cubewisecode/arc/arc_linux64
Type=simple

[Install]
WantedBy=default.target

Enable the service using sudo systemctl enable arc.service

Then you should be able to start arc using sudo systemctl start arc

Check the status of the arc service with sudo systemctl status arc

To stop arc use: sudo systemctl stop arc

Once stopped, the status of arc will be “inactive”

Once arc is set as service unit in Linux, arc will be available even after a hosting server restart


Posted

in

, , , ,

by

Tags: