Skip to content

Systemd

Mysh! edited this page Mar 1, 2023 · 1 revision

You can use systemd service to manage your sui-probe instance.

  1. Add sui system user: sudo useradd -r -s /sbin/nologin sui
  2. Create systemd config in /etc/systemd/system/ and use this basic config:
[Unit]
Description=Sui Node monitoring tool
Wants=network.target

[Service]
Type=simple
ExecStart=/usr/local/bin/sui-probe
User=sui
Group=sui
Restart=on-failure

[Install]
WantedBy=network.target
  1. Then activate service by running systemctl enable --now sui

By default service uses :1323 port.

Clone this wiki locally