diff options
author | jondo <robert.pollak@posteo.net> | 2024-08-06 16:56:13 +0200 |
---|---|---|
committer | jondo <robert.pollak@posteo.net> | 2024-08-06 16:56:13 +0200 |
commit | ba9ce4b4204903f16a50df5a95ffd5b82d47eab6 (patch) | |
tree | 5d4216d3d1c53b0d201a9a24dde00dd074c88545 | |
parent | Merge pull request '[UI] Do not include trailing EOL character when counting ... (diff) | |
download | forgejo-ba9ce4b4204903f16a50df5a95ffd5b82d47eab6.tar.xz forgejo-ba9ce4b4204903f16a50df5a95ffd5b82d47eab6.zip |
Switch to FORGEJO_WORK_DIR in the systemd service configuration file (#4850)
This is for https://codeberg.org/forgejo/forgejo/issues/4850
-rw-r--r-- | contrib/systemd/forgejo.service | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/systemd/forgejo.service b/contrib/systemd/forgejo.service index 04ef69adc0..ee019e11ea 100644 --- a/contrib/systemd/forgejo.service +++ b/contrib/systemd/forgejo.service @@ -61,7 +61,7 @@ WorkingDirectory=/var/lib/forgejo/ #RuntimeDirectory=forgejo ExecStart=/usr/local/bin/forgejo web --config /etc/forgejo/app.ini Restart=always -Environment=USER=git HOME=/home/git GITEA_WORK_DIR=/var/lib/forgejo +Environment=USER=git HOME=/home/git FORGEJO_WORK_DIR=/var/lib/forgejo # If you install Git to directory prefix other than default PATH (which happens # for example if you install other versions of Git side-to-side with # distribution version), uncomment below line and add that prefix to PATH |