support hostnamectl (systemd)