mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 12:24:37 +08:00
18 lines
411 B
Desktop File
18 lines
411 B
Desktop File
[Unit]
|
|
Description=OpenSSH Daemon
|
|
Wants=sshdgenkeys.service
|
|
After=sshdgenkeys.service
|
|
After=network.target
|
|
|
|
[Service]
|
|
ExecStart=/usr/sbin/sshd -D
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
Restart=always
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|
|
# This service file runs an SSH daemon that forks for each incoming connection.
|
|
# If you prefer to spawn on-demand daemons, use sshd.socket and sshd@.service.
|