forge.devinsy.fr-tools/doctor

4 lines
155 B
Bash
Executable file

#!/bin/bash
ACTION="$@"
su - git -c "cd /srv/gitea/bin ; /srv/gitea/bin/gitea doctor -c /etc/gitea/gitea.ini -w /srv/gitea/ -C /srv/gitea/custom $ACTION"