-
Notifications
You must be signed in to change notification settings - Fork 0
Systemd
Mysh! edited this page Mar 1, 2023
·
1 revision
You can use systemd service to manage your sui-probe instance.
- Add
sui
system user:sudo useradd -r -s /sbin/nologin sui
- 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
- Then activate service by running
systemctl enable --now sui
By default service uses :1323
port.