remount-secure systemd unit

https://github.com/Kicksecure/security-misc/pull/152
This commit is contained in:
Patrick Schleizer 2023-11-06 16:22:42 -05:00
parent 79f9c1fb3a
commit fd1f38b2eb
No known key found for this signature in database
GPG Key ID: CB8D50BB77BB3C48

View File

@ -6,16 +6,25 @@ Description=remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noe
Documentation=https://github.com/Kicksecure/security-misc Documentation=https://github.com/Kicksecure/security-misc
DefaultDependencies=no DefaultDependencies=no
Before=sysinit.target
Requires=local-fs.target
After=local-fs.target
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 After=qubes-sysinit.service
Requires=local-fs.target
Requires=sysinit.target
[Service] [Service]
Type=oneshot Type=oneshot
RemainAfterExit=yes RemainAfterExit=yes
ExecStart=/usr/bin/remount-secure ExecStart=remount-secure
[Install] [Install]
WantedBy=sysinit.target WantedBy=sysinit-post.target