mirror of
https://github.com/libretro/Lakka-LibreELEC.git
synced 2025-04-02 10:41:46 -04:00
18 lines
431 B
Desktop File
18 lines
431 B
Desktop File
[Unit]
|
|
Description=OpenSSH server daemon
|
|
After=network.target
|
|
ConditionKernelCommandLine=|ssh
|
|
ConditionPathExists=|/storage/.cache/services/sshd.conf
|
|
|
|
[Service]
|
|
Restart=on-failure
|
|
EnvironmentFile=-/storage/.cache/services/sshd.conf
|
|
ExecStartPre=/usr/bin/ssh-keygen -A
|
|
ExecStart=/usr/sbin/sshd -D $SSH_ARGS
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
TimeoutStopSec=1s
|
|
RestartSec=2
|
|
StartLimitInterval=0
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|