summaryrefslogtreecommitdiff
path: root/pcr/apparmor/apparmor.service
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/apparmor/apparmor.service')
-rw-r--r--pcr/apparmor/apparmor.service4
1 files changed, 3 insertions, 1 deletions
diff --git a/pcr/apparmor/apparmor.service b/pcr/apparmor/apparmor.service
index 7cee03ad9..200d9be74 100644
--- a/pcr/apparmor/apparmor.service
+++ b/pcr/apparmor/apparmor.service
@@ -1,5 +1,7 @@
[Unit]
Description=AppArmor profiles
+DefaultDependencies=no
+Before=sysinit.target
[Service]
Type=oneshot
@@ -8,4 +10,4 @@ ExecStop=/usr/bin/apparmor_unload.sh
RemainAfterExit=yes
[Install]
-WantedBy=basic.target
+WantedBy=multi-user.target