# The default unit already has "Restart=on-failure", but it has set # "RestartPreventExitStatus=255", which prevents a restart on that # specific exit code. I don't think we want that. Please, just restart # ssh. [Service] RestartPreventExitStatus= RestartSec=1