Closed user9931 closed 3 years ago
It can be only happens on slow systems
On my Vps (very cheap & small, openvz) its takes forever to show logs of sshd service, for example (maybe another). its about line
UserParameter=systemd.service.status[*],$(systemctl status $1 2>/dev/null
so its trying to show log and we dont need them.
UserParameter=systemd.service.status[*],$(systemctl status --lines=0 $1 2>/dev/null
work instantly.
Fixed.
It can be only happens on slow systems
On my Vps (very cheap & small, openvz) its takes forever to show logs of sshd service, for example (maybe another). its about line
UserParameter=systemd.service.status[*],$(systemctl status $1 2>/dev/null
so its trying to show log and we dont need them.
UserParameter=systemd.service.status[*],$(systemctl status --lines=0 $1 2>/dev/null
work instantly.