mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-08-01 17:56:03 -04:00
parent
18a06935e0
commit
0efee2f50f
27 changed files with 65 additions and 66 deletions
30
usr/lib/systemd/system/remount-secure.service
Normal file
30
usr/lib/systemd/system/remount-secure.service
Normal file
|
@ -0,0 +1,30 @@
|
|||
## Copyright (C) 2019 - 2023 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
|
||||
## See the file COPYING for copying conditions.
|
||||
|
||||
[Unit]
|
||||
Description=remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noexec (opt-in)
|
||||
Documentation=https://github.com/Kicksecure/security-misc
|
||||
|
||||
DefaultDependencies=no
|
||||
|
||||
Before=sysinit-post.target
|
||||
Before=basic.target
|
||||
Before=multi-user.target
|
||||
Before=graphical.target
|
||||
Before=getty-pre.target
|
||||
Before=network-pre.target
|
||||
|
||||
After=local-fs.target
|
||||
After=sysinit.target
|
||||
After=qubes-sysinit.service
|
||||
|
||||
Requires=local-fs.target
|
||||
Requires=sysinit.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
RemainAfterExit=yes
|
||||
ExecStart=remount-secure
|
||||
|
||||
[Install]
|
||||
WantedBy=sysinit-post.target
|
Loading…
Add table
Add a link
Reference in a new issue