Commit Graph

9 Commits (eb1b225d9a920e68ce415b9732b4ec1d9527a2a2)

Author SHA1 Message Date
Anthony Vanelverdinghe 44ec9b933a Rephrase comment about RuntimeDirectory option ()
Ramon Fischer 2282c659dd Explicity indicate the socket unit to use the service unit "gitea.service" ()
* rename socket file, make example more precise, use long parameter name

* correct path

* use the correct path to the configuration file according to the documentation

* rename the socket unit back to 'gitea.main.socket', explicitly indicate that the socket unit should use the service file 'gitea.service'
zeripath 0b44f0c465
Update the provided gitea.service to mention socket activation ()
* Update the provided gitea.service since we have graceful restarting again

* Update contrib/systemd/gitea.service

Co-Authored-By: guillep2k <18600385+guillep2k@users.noreply.github.com>
Thomas McWork bc5a479fef Add unix socket help ()
When using unix socket as listener (`HTTP_ADDR = /run/gitea/gitea.socket`) then it's required to have the folder `/run/gitea` with appropriate owner/group. Manual creation leads to vanishing after reboot. This directive enables Systemd to handle this.
techknowlogick dbb4aeead9
Change systemd service file to more correctly match Debian & Centos - Fix ()
Lauris BH 1aee261aae More detailed documentation on how to set up from binary ()
* More detailed documentation on how to set up from binary
Also change recommended file locations
techknowlogick af62ec5cc0 Note about adding permisions to binary ()
in regards to binding to lower ports than 1024
William Mantly Jr e4f96c60cd App restarts to quickly if it fails to start. ()
Thomas Boerger a06c3ad2c0 Synced gitignores with github repo ()
* Renamed scripts directory into contrib

* Added script to download gitignores from github

* Synced gitignores with github repo