Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

updated linux systemd service example and documentation #8109

Open
wants to merge 1 commit into
base: master
from

Conversation

@bradchesney79
Copy link

commented Sep 5, 2019

So, the service.gitea file is not drop-in compatible with a bog standard install that runs Gitea as root with all the bits in the default places. The updated service file will work with no interesting changes.

One caveat is that the user still should uncomment whatever DB service that gitea should come online after... But, that isn't any different than it was.

The current example service file was good for showing how to customize starting Gitea, that inherent documentation was moved to the actual documentation.

Group=git
WorkingDirectory=/var/lib/gitea/
ExecStart=/usr/local/bin/gitea web -c /etc/gitea/app.ini
User=root

This comment has been minimized.

Copy link
@techknowlogick

techknowlogick Sep 5, 2019

Member

Gitea should not be run as root.

This comment has been minimized.

Copy link
@bradchesney79

bradchesney79 Sep 6, 2019

Author

Risk averse party poopers...

This comment has been minimized.

Copy link
@bradchesney79

bradchesney79 Sep 6, 2019

Author

Fine. I'll follow the binary install instructions on the actual Gitea site and see if the service works with the gitea.service file.

@GiteaBot GiteaBot added the lgtm/need 2 label Sep 5, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
3 participants
You can’t perform that action at this time.