vikunja/run.sh
kolaente 4204af255c
All checks were successful
continuous-integration/drone/push Build is passing
Add ability to run the docker container with configurable user and group ids
2020-05-22 21:18:11 +02:00

7 lines
181 B
Bash
Executable File

#!/bin/sh
# Set the uid and gid of the vikunja run user
usermod --non-unique --uid ${PUID} vikunja
groupmod --non-unique --gid ${PGID} vikunja
su vikunja -c '/app/vikunja/vikunja'