Add esvm service file
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
name: moby
|
name: moby
|
||||||
description: Container engine for the Docker ecosystem
|
description: Container engine for the Docker ecosystem
|
||||||
version: 28.5.0
|
version: 28.5.0
|
||||||
revision: 1
|
revision: 2
|
||||||
url: https://github.com/moby/moby
|
url: https://github.com/moby/moby
|
||||||
license: Apache-2.0
|
license: Apache-2.0
|
||||||
architecture: any
|
architecture: any
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
name: dockerd
|
||||||
|
description: Docker daemon
|
||||||
|
type: background
|
||||||
|
start_cmd: sh -c 'usr/sbin/modprobe loop && exec /usr/bin/dockerd'
|
||||||
|
exit_method: kill
|
||||||
@@ -36,6 +36,9 @@ package() {
|
|||||||
# Install sysusers
|
# Install sysusers
|
||||||
install -Dm644 "$BPM_WORKDIR"/sysusers "$BPM_OUTPUT"/usr/lib/sysusers.d/docker.conf
|
install -Dm644 "$BPM_WORKDIR"/sysusers "$BPM_OUTPUT"/usr/lib/sysusers.d/docker.conf
|
||||||
|
|
||||||
|
# Install esvm service
|
||||||
|
install -Dm644 "$BPM_WORKDIR"/dockerd.esv "$BPM_OUTPUT"/etc/esvm/services/dockerd.esv
|
||||||
|
|
||||||
# Install package license
|
# Install package license
|
||||||
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/moby/LICENSE
|
install -Dm644 "$BPM_SOURCE"/LICENSE "$BPM_OUTPUT"/usr/share/licenses/moby/LICENSE
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user