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.targetRun
sudo systemctl daemon-reload
Run
sudo systemctl status suite.service
β
β
You can use thesuite
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.