File: docker-registry.upstart

package info (click to toggle)
docker-registry 2.6.2~ds1-2
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,188 kB
  • sloc: sh: 281; makefile: 82
file content (19 lines) | stat: -rw-r--r-- 380 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
description "the Docker toolset to pack, ship, store, and deliver content"

start on local-filesystems
stop on runlevel [!2345]

respawn

setuid docker-registry

script
	BINARY=/usr/bin/$UPSTART_JOB
	CONFIG=/etc/etc/docker/registry/config.yml
	if [ -f /etc/default/$UPSTART_JOB ]; then
		. /etc/default/$UPSTART_JOB
	fi
	exec "$BINARY" "$CONFIG"
end script

# vim:set ft=upstart: