Skip to content

Commit

Permalink
Move After from Service to Unit where it belongs
Browse files Browse the repository at this point in the history
- also mention about using systemctl edit

Signed-off-by: Radovan Sroka <[email protected]>
  • Loading branch information
radosroka committed Dec 20, 2024
1 parent f76484b commit 71ba795
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions init/fapolicyd.service
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# You should manage this file with systemctl edit utility and not manually

[Unit]
Description=File Access Policy Daemon
DefaultDependencies=no
# Append nss-user-lookup.target to the following line if rules need user/group lookup
After=local-fs.target systemd-tmpfiles-setup.service
Documentation=man:fapolicyd(8)

Expand All @@ -12,8 +15,6 @@ PIDFile=/run/fapolicyd.pid
ExecStartPre=/usr/sbin/fagenrules
ExecStart=/usr/sbin/fapolicyd
Restart=on-abnormal
# Uncomment the following line if rules need user/group name lookup
#After=nss-user-lookup.target

[Install]
WantedBy=multi-user.target

0 comments on commit 71ba795

Please sign in to comment.