[skip-ci] added s6config

This commit is contained in:
konrad 2018-09-08 15:51:49 +02:00
parent f920e336f0
commit f0b0319f54
No known key found for this signature in database
GPG key ID: F40E70337AB24C9B
3 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View file

@ -4,6 +4,5 @@ config.yml
config.yaml config.yaml
*.db *.db
Run Run
vikunja
dist/ dist/
cover.* cover.*

2
docker/etc/s6/vikunja/finish Executable file
View file

@ -0,0 +1,2 @@
#!/bin/bash
exit 0

6
docker/etc/s6/vikunja/run Executable file
View file

@ -0,0 +1,6 @@
#!/bin/bash
[[ -f ./setup ]] && source ./setup
pushd /app/vikunja > /dev/null
exec su-exec $USER /app/vikunja/vikunja
popd