[Main]
Type = classic
Version = 0.0.2
Description = "ssh daemon"
User = ( root )

[Start]
Execute = (
    /usr/lib/execline/bin/foreground { mkdir -p /run/sshd }
    /usr/lib/execline/bin/foreground { chmod 0755 /run/sshd }
    /usr/lib/execline/bin/foreground {  ssh-keygen -A }
     execl-cmdline -s { /sbin/sshd ${Args} }
)

[Environment]
Args=!-D -e ${ArgsConfFile}
ArgsConfFile=!-f /etc/ssh/sshd_config

