Skip to content

Commit

Permalink
remount-secure systemd unit
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Nov 6, 2023
1 parent 79f9c1f commit fd1f38b
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions lib/systemd/system/remount-secure.service
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,25 @@ Description=remount /home /tmp /dev/shm /run with nosuid,nodev (default) and noe
Documentation=https://github.com/Kicksecure/security-misc

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

Requires=local-fs.target
Requires=sysinit.target

[Service]
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/bin/remount-secure
ExecStart=remount-secure

[Install]
WantedBy=sysinit.target
WantedBy=sysinit-post.target

0 comments on commit fd1f38b

Please sign in to comment.