Fix systemd mode