Browse Source

Update s6 path following package update

for-closed-social
Jean-Philippe Roemer 9 years ago
parent
commit
0cbf56855a
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      Dockerfile
  2. +1
    -1
      docker/start.sh

+ 1
- 1
Dockerfile View File

@ -19,4 +19,4 @@ RUN ./docker/build.sh
VOLUME ["/data"] VOLUME ["/data"]
EXPOSE 22 3000 EXPOSE 22 3000
ENTRYPOINT ["docker/start.sh"] ENTRYPOINT ["docker/start.sh"]
CMD ["/usr/bin/s6-svscan", "/app/gogs/docker/s6/"]
CMD ["/bin/s6-svscan", "/app/gogs/docker/s6/"]

+ 1
- 1
docker/start.sh View File

@ -52,5 +52,5 @@ fi
if [ $# -gt 0 ];then if [ $# -gt 0 ];then
exec "$@" exec "$@"
else else
exec /usr/bin/s6-svscan /app/gogs/docker/s6/
exec /bin/s6-svscan /app/gogs/docker/s6/
fi fi

Loading…
Cancel
Save