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

Specified user in daemon config is not respected. #30

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

bartoszwalicki
Copy link

Daemon user options passed in file /etc/default/triggerhappy are not respected due to hardcoded nobody user in triggerhappy.service service config file.

@normanr
Copy link

normanr commented May 30, 2022

This is probably better fixed by adding EnvironmentFile=/etc/default/triggerhappy, and then a $DAEMON_OPTS suffix to the ExecStart= line.

Alternatively (because this is systemd), it would probably just be better to set User= (but that breaks opening input files at startup).

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

Successfully merging this pull request may close these issues.

2 participants