mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-07-26 08:35:24 -04:00
systemd RemainAfterExit=yes
for better usability https://forums.whonix.org/t/restrict-hardware-information-to-root-testers-wanted/8618/33
This commit is contained in:
parent
e8ea94325b
commit
41734ec523
5 changed files with 5 additions and 0 deletions
|
@ -12,6 +12,7 @@ After=local-fs.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib/security-misc/hide-hardware-info
|
ExecStart=/usr/lib/security-misc/hide-hardware-info
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|
|
@ -14,6 +14,7 @@ After=local-fs.target
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/lib/security-misc/permission-hardening
|
ExecStart=/usr/lib/security-misc/permission-hardening
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|
|
@ -12,6 +12,7 @@ After=local-fs.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
|
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|
|
@ -16,6 +16,7 @@ After=qubes-sysinit.service
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
RemainAfterExit=yes
|
RemainAfterExit=yes
|
||||||
ExecStart=/usr/lib/security-misc/remount-secure
|
ExecStart=/usr/lib/security-misc/remount-secure
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|
|
@ -12,6 +12,7 @@ After=local-fs.target
|
||||||
[Service]
|
[Service]
|
||||||
Type=oneshot
|
Type=oneshot
|
||||||
ExecStart=/usr/lib/security-misc/remove-system.map
|
ExecStart=/usr/lib/security-misc/remove-system.map
|
||||||
|
RemainAfterExit=yes
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=sysinit.target
|
WantedBy=sysinit.target
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue