@@ -8,53 +8,53 @@ User=root
88ExecStart =/usr/bin/deepin-devicecontrol
99StandardOutput =journal
1010MemoryMax =2G
11- IOWeight =200
12- ProtectSystem =full
13- ProtectHome =true
14- ProtectProc =invisible
15- PrivateTmp =true
16- PrivateDevices =false
17- PrivateIPC =true
18- ProtectClock =true
19- ProtectKernelTunables =true
20- ProtectKernelModules =false
21- NoNewPrivileges =true
22- MemoryDenyWriteExecute =true
23- RestrictSUIDSGID =true
24- LimitMEMLOCK =infinity
25- CapabilityBoundingSet =CAP_SYS_ADMIN CAP_SYS_MODULE CAP_SYS_PTRACE CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_BOOT CAP_KILL CAP_NET_BIND_SERVICE
26- AmbientCapabilities =CAP_SYS_ADMIN CAP_SYS_MODULE CAP_SYS_PTRACE CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_BOOT CAP_KILL CAP_NET_BIND_SERVICE
27- ExecPaths =/usr/bin /usr/sbin /bin /sbin /lib /lib64 /usr/lib /usr/lib64
28- NoExecPaths =/tmp /var/tmp /home /root
29- ReadWritePaths =/var/lib/deepin-devicemanager
30- ReadWritePaths =/var/log
31- ReadWritePaths =/var/cache
32- ReadWritePaths =/tmp
33- ReadWritePaths =/var/tmp
34- ReadWritePaths =/etc/modprobe.d
35- ReadWritePaths =/run
36- ReadOnlyPaths =/sys
37- ReadOnlyPaths =/proc
38- ReadOnlyPaths =/etc
39- ReadOnlyPaths =/usr
40- ReadOnlyPaths =/lib
41- ReadOnlyPaths =/boot
42- InaccessiblePaths =-/etc/shadow
43- InaccessiblePaths =-/etc/NetworkManager/system-connections/
44- InaccessiblePaths =-/etc/pam.d/
45- InaccessiblePaths =-/etc/security/
46- InaccessiblePaths =-/etc/selinux/
47- InaccessiblePaths =-/etc/deepin-elf-verify/
48- InaccessiblePaths =-/etc/filearmor.d/
49- InaccessiblePaths =-/etc/crypttab
50- InaccessiblePaths =-/etc/fstab
51- InaccessiblePaths =-/sysroot/ostree/repo/
52- InaccessiblePaths =-/persistent/ostree/repo/
53- InaccessiblePaths =-/usr/share/uadp
54- InaccessiblePaths =-/etc/sudoers
55- InaccessiblePaths =-/etc/sudoers.d
56- OOMScoreAdjust =-500
57- Nice =-5
11+ # IOWeight=200
12+ # ProtectSystem=full
13+ # ProtectHome=true
14+ # ProtectProc=invisible
15+ # PrivateTmp=true
16+ # PrivateDevices=false
17+ # PrivateIPC=true
18+ # ProtectClock=true
19+ # ProtectKernelTunables=true
20+ # ProtectKernelModules=false
21+ # NoNewPrivileges=true
22+ # MemoryDenyWriteExecute=true
23+ # RestrictSUIDSGID=true
24+ # LimitMEMLOCK=infinity
25+ # CapabilityBoundingSet=CAP_SYS_ADMIN CAP_SYS_MODULE CAP_SYS_PTRACE CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_BOOT CAP_KILL CAP_NET_BIND_SERVICE
26+ # AmbientCapabilities=CAP_SYS_ADMIN CAP_SYS_MODULE CAP_SYS_PTRACE CAP_DAC_OVERRIDE CAP_FOWNER CAP_SYS_BOOT CAP_KILL CAP_NET_BIND_SERVICE
27+ # ExecPaths=/usr/bin /usr/sbin /bin /sbin /lib /lib64 /usr/lib /usr/lib64
28+ # NoExecPaths=/tmp /var/tmp /home /root
29+ # ReadWritePaths=/var/lib/deepin-devicemanager
30+ # ReadWritePaths=/var/log
31+ # ReadWritePaths=/var/cache
32+ # ReadWritePaths=/tmp
33+ # ReadWritePaths=/var/tmp
34+ # ReadWritePaths=/etc/modprobe.d
35+ # ReadWritePaths=/run
36+ # ReadOnlyPaths=/sys
37+ # ReadOnlyPaths=/proc
38+ # ReadOnlyPaths=/etc
39+ # ReadOnlyPaths=/usr
40+ # ReadOnlyPaths=/lib
41+ # ReadOnlyPaths=/boot
42+ # InaccessiblePaths=-/etc/shadow
43+ # InaccessiblePaths=-/etc/NetworkManager/system-connections/
44+ # InaccessiblePaths=-/etc/pam.d/
45+ # InaccessiblePaths=-/etc/security/
46+ # InaccessiblePaths=-/etc/selinux/
47+ # InaccessiblePaths=-/etc/deepin-elf-verify/
48+ # InaccessiblePaths=-/etc/filearmor.d/
49+ # InaccessiblePaths=-/etc/crypttab
50+ # InaccessiblePaths=-/etc/fstab
51+ # InaccessiblePaths=-/sysroot/ostree/repo/
52+ # InaccessiblePaths=-/persistent/ostree/repo/
53+ # InaccessiblePaths=-/usr/share/uadp
54+ # InaccessiblePaths=-/etc/sudoers
55+ # InaccessiblePaths=-/etc/sudoers.d
56+ # OOMScoreAdjust=-500
57+ # Nice=-5
5858
5959[Install]
6060WantedBy =multi-user.target
0 commit comments