Open vieyahn2017 opened 1 year ago
[root@node1 mon]# cat vitastor-mon.service [Unit] Description=Vitastor monitor After=network-online.target local-fs.target time-sync.target Wants=network-online.target local-fs.target time-sync.target
[Service] Restart=always ExecStart=node /usr/lib/vitastor/mon/mon-main.js WorkingDirectory=/
run: journalctl -xeu vitastor-mon.service -- No entries --
journalctl -u vitastor-mon is the correct command, yeah. Check systemctl status vitastor-mon, maybe it just doesn't start in your case
[root@node1 mon]# cat vitastor-mon.service [Unit] Description=Vitastor monitor After=network-online.target local-fs.target time-sync.target Wants=network-online.target local-fs.target time-sync.target
[Service] Restart=always ExecStart=node /usr/lib/vitastor/mon/mon-main.js WorkingDirectory=/
run: journalctl -xeu vitastor-mon.service -- No entries --