forge/bin/doctor

5 lines
169 B
Bash
Executable File

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