summarylogtreecommitdiffstats
path: root/appgateservice.service.patch
blob: 624d03156eede2889dd566843bf829acf5634480 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
diff --git a/lib/systemd/system/appgateservice.service b/lib/systemd/system/appgateservice.service
index 7a8faf7..f944300 100644
--- a/lib/systemd/system/appgateservice.service
+++ b/lib/systemd/system/appgateservice.service
@@ -12,8 +12,8 @@ ExecStart="/opt/appgate/service/appgateservice" --service
 ExecReload=/bin/kill -HUP $MAINPID
 Type=simple
 Restart=always
-InaccessibleDirectories=/media /boot /srv
-ReadOnlyDirectories=/etc /usr /bin /lib /lib64 /sbin /mnt
+InaccessibleDirectories=-/media -/boot -/srv
+ReadOnlyDirectories=-/etc -/usr -/bin -/lib -/lib64 -/sbin -/mnt
 PrivateDevices=true
 NoNewPrivileges=true
 PrivateTmp=true