go.mondoo.com/cnquery@v0.0.0-20231005093811-59568235f6ea/providers/os/resources/services/testdata/systemd/tmp/sshd.service (about)

     1  [Unit]
     2  Description=OpenBSD Secure Shell server
     3  Documentation=man:sshd(8) man:sshd_config(5)
     4  After=network.target auditd.service
     5  ConditionPathExists=!/etc/ssh/sshd_not_to_be_run
     6  
     7  [Service]
     8  EnvironmentFile=-/etc/default/ssh
     9  ExecStartPre=/usr/sbin/sshd -t
    10  ExecStart=/usr/sbin/sshd -D $SSHD_OPTS
    11  ExecReload=/usr/sbin/sshd -t
    12  ExecReload=/bin/kill -HUP $MAINPID
    13  KillMode=process
    14  Restart=on-failure
    15  RestartPreventExitStatus=255
    16  Type=notify
    17  RuntimeDirectory=sshd
    18  RuntimeDirectoryMode=0755
    19  
    20  [Install]
    21  WantedBy=multi-user.target
    22  Alias=sshd.service