forge.devinsy.fr-tools/doctor

5 lines
155 B
Text
Raw Permalink Normal View History

2023-11-02 05:09:29 +01:00
#!/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"