[Unit] Description=Something something PartOf=whatever.target ConditionHost=|hostname1 ConditionHost=|anotherhost Requires=whatever # bogus service [Service] EnvironmentFile=-/etc/default/ssh ExecStart=/usr/sbin/sshd -D $SSHD_OPTS ExecReload=/bin/kill -HUP $MAINPID KillMode=process Restart=on-failure RestartPreventExitStatus=255 Type=notify [Install] WantedBy=multi-user.target Alias=sshd.service