2021-03-17 20:45:21 +07:00
|
|
|
## Copyright (C) 2019 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
2019-06-30 20:22:43 +07:00
|
|
|
## See the file COPYING for copying conditions.
|
|
|
|
|
2019-06-30 05:27:24 +07:00
|
|
|
[Unit]
|
|
|
|
Description=Mounts /proc with hidepid=2
|
2019-06-30 05:28:41 +07:00
|
|
|
Documentation=https://github.com/Whonix/security-misc
|
2019-09-10 23:23:00 +07:00
|
|
|
DefaultDependencies=no
|
|
|
|
Before=sysinit.target
|
2019-06-30 05:27:24 +07:00
|
|
|
Requires=local-fs.target
|
|
|
|
After=local-fs.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
|
|
|
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
|
2021-04-03 22:44:13 +07:00
|
|
|
RemainAfterExit=yes
|
2019-07-01 14:43:02 +07:00
|
|
|
|
2019-06-30 05:27:24 +07:00
|
|
|
[Install]
|
2019-10-05 16:14:54 +07:00
|
|
|
WantedBy=sysinit.target
|