Skip to main content

Running Suite as a Linux service

Below are steps for setting up a start Daemon for Suite on Rocky Linux 9 or Ubuntu 22.04 and 24.04.

Updated over 2 weeks ago

  1. Create a file at /lib/systemd/system/suite.service with the following contents:

    • <username> should be your Suite username.

    • <password> should be your Suite password.

    • <linux-user> should be the Linux username under which you want to run Suite.

    • <linux-group> should be the corresponding Linux group.

    [Unit]
    Description=Suite service
    After=network.target

    [Service]
    Environment="SUITE_USERNAME=<username>"
    Environment="SUITE_PASSWORD=<password>"
    User=<linux-user>
    Group=<linux-group>
    Type=oneshot
    RemainAfterExit=yes
    ExecStart=/usr/bin/suite start
    ExecStop=/usr/bin/suite stop --wait

    [Install]
    WantedBy=multi-user.target

  2. Run sudo systemctl daemon-reload

  3. Run sudo systemctl status suite.service
    ​
    ​
    You can use the suite cli command to interact with the running service.
    ​

Currently, Suite must run as a Type=oneshot service. If Suite is stopped while your computer is still running, it will not be started until the next reboot.

Did this answer your question?