summaryrefslogtreecommitdiffstats
path: root/debian/samba.smbd.service
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/samba.smbd.service1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/samba.smbd.service b/debian/samba.smbd.service
index 57d8f75..a5b7929 100644
--- a/debian/samba.smbd.service
+++ b/debian/samba.smbd.service
@@ -9,6 +9,7 @@ Type=notify
PIDFile=/run/samba/smbd.pid
LimitNOFILE=16384
EnvironmentFile=-/etc/default/samba
+ExecStartPre=/usr/share/samba/update-apparmor-samba-profile
ExecStart=/usr/sbin/smbd --foreground --no-process-group $SMBDOPTIONS
ExecReload=/bin/kill -HUP $MAINPID
LimitCORE=infinity