Skip to content
Snippets Groups Projects
Commit 66e0f4db authored by Eric Vidal's avatar Eric Vidal :speech_balloon:
Browse files

replace proto file

parent 8d654b8e
No related branches found
No related tags found
No related merge requests found
# Obarun : 66 init/supervisor
# Maintainer : Eric Vidal <eric@obarun.org>
# Maintainer : Jean-Michel T.Dydak <jean-michel@obarun.org>
# Source : url="https://framagit.org/pkg/service/@BASE@-66serv"
# Source : url="https://framagit.org/pkg/service/dockerd-66serv"
#--------------------------------------------------------------------------------------
pkgbase=@BASE@
pkgdepends=@BASE@
pkgbase=dockerd
pkgdepends=docker
pkgname="${pkgbase}"-66serv
pkgver=0.0.1
pkgrel=1
......@@ -29,7 +29,7 @@ makedepends=(
package() {
cd "${pkgname}/trunk"
install -Dm 0644 @BASE@ "${pkgdir}"/usr/lib/66/service/@BASE@
install -Dm 0644 dockerd "${pkgdir}"/usr/lib/66/service/dockerd
install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/"${pkgname}"/LICENSE
}
......
[main]
@type = classic,bundle,longrun,oneshot
@name =
@description = ""
@depends = ()
@contents = ()
@options = ( log env pipeline )
@flags = ( down nosetsid )
@notify =
@user = ()
@timeout-finish =
@timeout-kill =
@timeout-up =
@timeout-down =
@maxdeath =
@down-signal =
@hiercopy = ()
[start]
@build = auto,custom
@runas =
@shebang = ""
@execute = ()
[stop]
@build = auto,custom
@runas =
@shebang = ""
@execute = ()
[logger]
@build = auto,custom
@runas =
@shebang = ""
@destination =
@backup =
@maxsize =
@timestamp =
@timeout-finish =
@timeout-kill =
@execute = ()
[environment]
cmd_args= # command args
cmd_log= # place for the log of the command
cmd_dir= # place of the binaries
cmd_file= # extra file to use with command
cmd_args_stop= # stop command args
cmd_log_stop= # place for the log of the stop command
cmd_dir_stop= # place of the stop binaries
cmd_file_stop= # extra file to use with stop command
mnt_dir= # mountpoint directories
mnt_type= # mount type
mk_dir= # mkdir a directory
mk_dir_conf= # extra configuration to mkdir command
conf_dir= # directory of configuration file
conf_file= # name of the configuration file
script_dir= # script directory location
script_file= # name of the script
script_conf= # extra configuration to use with script
script_args= # command argument to pass to the scripts
socket_dir= # socket directory location
socket_name= # name of the socket
[main]
@type = classic
@name = docker
@description = "docker service"
@options = ( log )
@user = (root)
@maxdeath = 3
[start]
@build = auto
@execute =
(
s6-ipcserver-socketbinder -a 0660 -- /run/docker.sock
if { chown root:docker /run/docker.sock }
dockerd -H unix:///run/docker.sock
)
[logger]
@build = auto
@timestamp = iso
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment