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

Conversation

bradchesney79
Copy link

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
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gitea should not be run as root.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Risk averse party poopers...

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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 This PR needs two approvals by maintainers to be considered for merging. label Sep 5, 2019
@stale
Copy link

stale bot commented Nov 5, 2019

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs during the next 2 months. Thank you for your contributions.

@stale stale bot added the issue/stale label Nov 5, 2019
@lunny
Copy link
Member

lunny commented Nov 5, 2019

replaced by #8804

@stale stale bot removed the issue/stale label Nov 5, 2019
@lafriks lafriks closed this Nov 5, 2019
@go-gitea go-gitea locked and limited conversation to collaborators Nov 24, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants