summarylogtreecommitdiffstats
path: root/appgatedriver.service.patch
blob: d59f2c1f3740a4ce02bd8b68c326e4b376b0ea56 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/lib/systemd/system/appgatedriver.service b/lib/systemd/system/appgatedriver.service
index 5e98ca8..1f8cb55 100644
--- a/lib/systemd/system/appgatedriver.service
+++ b/lib/systemd/system/appgatedriver.service
@@ -21,7 +21,7 @@ CapabilityBoundingSet=~CAP_SYS_PTRACE
 CapabilityBoundingSet=~CAP_SYS_PACCT
 CapabilityBoundingSet=~CAP_SYS_CHROOT
 CapabilityBoundingSet=~CAP_SYS_BOOT
-InaccessiblePaths=/mnt /srv /boot /media
+InaccessiblePaths=-/mnt -/srv -/boot -/media
 
 [Install]
 WantedBy=multi-user.target
diff --git a/lib/systemd/system/appgatedriver@.service b/lib/systemd/system/appgatedriver@.service
index c9f64db..3faf77f 100644
--- a/lib/systemd/system/appgatedriver@.service
+++ b/lib/systemd/system/appgatedriver@.service
@@ -25,5 +25,5 @@ CapabilityBoundingSet=~CAP_SYS_PTRACE
 CapabilityBoundingSet=~CAP_SYS_PACCT
 CapabilityBoundingSet=~CAP_SYS_CHROOT
 CapabilityBoundingSet=~CAP_SYS_BOOT
-InaccessiblePaths=/srv /boot /media
+InaccessiblePaths=-/srv -/boot -/media
 SyslogIdentifier=appgatedriver.%i