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

Move After from Service to Unit where it belongs #330

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

Conversation

radosroka
Copy link
Member

  • also mention about using systemctl edit

- also mention about using systemctl edit

Signed-off-by: Radovan Sroka <[email protected]>
[Unit]
Description=File Access Policy Daemon
DefaultDependencies=no
# Append nss-user-lookup.target to the following line if rules need user/group lookup
Copy link
Contributor

Choose a reason for hiding this comment

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

I would prefer a drop-in:

# If rules need user/group lookup, create a drop-in to delay the startup after NSS lookup is available:
#   # mkdir -p /etc/systemd/system/fapolicyd.service.d
#   # echo -e "[Unit]\nAfter=nss-user-lookup.target" > /etc/systemd/system/fapolicyd.service.d/nss-lookup.conf
#   # systemctl daemon-reload

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