1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29
# SSH Daemon # # Provides remote access via Secure Shell protocol. [service] name = "sshd" description = "Secure Shell Daemon" type = "daemon" [exec] start = "/usr/lib/ssh/sshd -D" [stop] method = "contract" signal = "TERM" timeout = 60 [dependencies] requires = ["network", "filesystem"] after = ["name-services"] [contract] param = ["inherit", "noorphan"] fatal = ["empty", "hwerr"] [restart] on = "failure" delay = 5 max_retries = 3