7 lines
300 B
Bash
Executable File
7 lines
300 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# The USER variable is needed here because gitea doesn't actually
|
|
# check what user its running as, it instead grabs the USER variable
|
|
# from the environment. HOME is set for the same reasons.
|
|
USER=_gitea HOME=/var/lib/gitea exec chpst -u _gitea:_gitea gitea web --config /etc/gitea.conf
|