[skip-ci] added s6config

This commit is contained in:
konrad 2018-09-08 15:51:49 +02:00
parent f920e336f0
commit f0b0319f54
Signed by untrusted user: konrad
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
*.db
Run
vikunja
dist/
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