How can I disable systemd messages that pop up in my BASH script once in a while (for example, after I login to the machine via SSH from somewhere), like in the screenshot below ? The BASH script uses the dialog tool and I run it on Ubuntu 18.04. One thing I tried was disabling rsyslog, but it didn't help. Here is a screenshot to illustrate this behavior: link.
My systemd service file looks something like this:
[Unit]
Description=bashscript
After=network.target
After=getty.target
Conflicts=getty@tty1.service
[Service]
Type=oneshot
PIDFile=/run/bashscript.pid
ExecStart=/bin/openvt -s -w -- /path/to/bashscript
StandardInput=tty-force
StandardOutput=inherit
StandardError=inherit
[Install]
WantedBy=graphical.target
Thank you.