Update esvm service files
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: openssh
|
name: openssh
|
||||||
description: The premier connectivity tool for remote login with the SSH protocol
|
description: The premier connectivity tool for remote login with the SSH protocol
|
||||||
version: 10.0p2
|
version: 10.0p2
|
||||||
revision: 2
|
revision: 3
|
||||||
url: https://www.openssh.com/
|
url: https://www.openssh.com/
|
||||||
license: BSD-2-Clause,BSD-3-Clause,ISC,LicenseRef-Public-Domain,MIT
|
license: BSD-2-Clause,BSD-3-Clause,ISC,LicenseRef-Public-Domain,MIT
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
name: ssh-keygen
|
|
||||||
description: Generate SSH keys
|
|
||||||
type: simple
|
|
||||||
start_cmd: /usr/bin/ssh-keygen -A
|
|
||||||
exit_method: kill
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
name: sshd
|
name: sshd
|
||||||
description: OpenSSH Daemon
|
description: OpenSSH Daemon
|
||||||
type: background
|
type: background
|
||||||
start_cmd: /sbin/sshd -D
|
start_cmd: /usr/bin/sh -c 'ssh-keygen -A && exec /sbin/sshd -D'
|
||||||
exit_method: kill
|
exit_method: kill
|
||||||
restart: true
|
restart: true
|
||||||
|
|||||||
@@ -52,7 +52,6 @@ package() {
|
|||||||
|
|
||||||
# Install esvm services
|
# Install esvm services
|
||||||
install -Dm644 "$BPM_WORKDIR"/sshd.esv "$BPM_OUTPUT"/etc/esvm/services/sshd.esv
|
install -Dm644 "$BPM_WORKDIR"/sshd.esv "$BPM_OUTPUT"/etc/esvm/services/sshd.esv
|
||||||
install -Dm644 "$BPM_WORKDIR"/ssh-keygen.esv "$BPM_OUTPUT"/etc/esvm/services/ssh-keygen.esv
|
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 LICENCE "$BPM_OUTPUT"/usr/share/licenses/openssh/LICENSE
|
install -Dm644 LICENCE "$BPM_OUTPUT"/usr/share/licenses/openssh/LICENSE
|
||||||
|
|||||||
Reference in New Issue
Block a user