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

Synology DSM SPK - Change run_user to git instead of root #8

Open
petmic92 opened this issue Oct 29, 2018 · 1 comment
Open

Synology DSM SPK - Change run_user to git instead of root #8

petmic92 opened this issue Oct 29, 2018 · 1 comment

Comments

@petmic92
Copy link

Hello,
how can I start the package as non root User, for example git?
I only get this error: The executing user is not the current user: git -> root
Gogs is running, when I enter root, but I want to change it to git-User.

This things I did:
I created git-User in DSM
Change Ownerships in SSH with chmod -R for Gogs & Git
Nothing works.

Any Idea or tutorial?

Best regards
Petmic

@petmic92 petmic92 changed the title Synology - How to change run_user to git? Synology DSM SPK - Change run_user to git instead of root Oct 29, 2018
@scotthunt
Copy link

FYI, I found that I could change the USER= and USERNAME= lines in /var/packages/Gogs/scripts/start-stop-status to get it running as non-root.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants