diff options
author | Lauris BH <lauris@nix.lv> | 2018-06-05 05:02:04 +0300 |
---|---|---|
committer | techknowlogick <techknowlogick@users.noreply.github.com> | 2018-06-04 22:02:04 -0400 |
commit | 1aee261aae74881f65a1152f6fa57bc160adaa16 (patch) | |
tree | 6c329fb4a43fe7d39f56ef30ac44ddb81600a29c /contrib/systemd | |
parent | 6400d8a3cba41d1435fa0fbe0b5b060062f41e1c (diff) | |
download | gitea-1aee261aae74881f65a1152f6fa57bc160adaa16.tar.gz gitea-1aee261aae74881f65a1152f6fa57bc160adaa16.zip |
More detailed documentation on how to set up from binary (#4121)
* More detailed documentation on how to set up from binary
Also change recommended file locations
Diffstat (limited to 'contrib/systemd')
-rw-r--r-- | contrib/systemd/gitea.service | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/contrib/systemd/gitea.service b/contrib/systemd/gitea.service index 8c627e7b5c..387de14fa6 100644 --- a/contrib/systemd/gitea.service +++ b/contrib/systemd/gitea.service @@ -18,10 +18,10 @@ RestartSec=2s Type=simple User=git Group=git -WorkingDirectory=/home/git/gitea -ExecStart=/home/git/gitea/gitea web +WorkingDirectory=/var/lib/gitea/ +ExecStart=/usr/local/bin/gitea web -c /etc/gitea/app.ini Restart=always -Environment=USER=git HOME=/home/git +Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/gitea # If you want to bind Gitea to a port below 1024 uncomment # the two values below ### |