security-misc/lib/systemd/system/remount-secure.service

31 lines
682 B
Desktop File

## 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