[1] https://docs.gitea.io/en-us/install-from-binary/
The link shows how to run the app, not how to run it as a daemon. That said, the answer is platform specific, although it would be useful to have some common examples.
I found this page useful when setting up Gogs as a Windows service:
https://gogs.io/docs/installation/run_as_windows_service
The link shows how to run the app, not how to run it as a daemon. That said, the answer is platform specific, although it would be useful to have some common examples.