/etc/init/docker-registry.conf is in docker-registry 2.6.2~ds1-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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:
|