summaryrefslogtreecommitdiff
path: root/sys-apps/apparmor/files/apparmor.service
diff options
context:
space:
mode:
Diffstat (limited to 'sys-apps/apparmor/files/apparmor.service')
-rw-r--r--sys-apps/apparmor/files/apparmor.service14
1 files changed, 14 insertions, 0 deletions
diff --git a/sys-apps/apparmor/files/apparmor.service b/sys-apps/apparmor/files/apparmor.service
new file mode 100644
index 00000000..89f14fed
--- /dev/null
+++ b/sys-apps/apparmor/files/apparmor.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=AppArmor profiles
+DefaultDependencies=no
+After=local-fs.target
+Before=sysinit.target
+
+[Service]
+Type=oneshot
+ExecStart=/usr/share/apparmor/apparmor_load.sh
+ExecStop=/usr/share/apparmor/apparmor_unload.sh
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target