Skip to content

Commit

Permalink
systemd RemainAfterExit=yes
Browse files Browse the repository at this point in the history
  • Loading branch information
adrelanos committed Apr 3, 2021
1 parent e8ea943 commit 41734ec
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/systemd/system/hide-hardware-info.service
Expand Up @@ -12,6 +12,7 @@ After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/lib/security-misc/hide-hardware-info
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target
1 change: 1 addition & 0 deletions lib/systemd/system/permission-hardening.service
Expand Up @@ -14,6 +14,7 @@ After=local-fs.target
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/security-misc/permission-hardening
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target
1 change: 1 addition & 0 deletions lib/systemd/system/proc-hidepid.service
Expand Up @@ -12,6 +12,7 @@ After=local-fs.target
[Service]
Type=oneshot
ExecStart=/bin/mount -o remount,nosuid,nodev,noexec,hidepid=2 /proc
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target
1 change: 1 addition & 0 deletions lib/systemd/system/remount-secure.service
Expand Up @@ -16,6 +16,7 @@ After=qubes-sysinit.service
Type=oneshot
RemainAfterExit=yes
ExecStart=/usr/lib/security-misc/remount-secure
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target
1 change: 1 addition & 0 deletions lib/systemd/system/remove-system-map.service
Expand Up @@ -12,6 +12,7 @@ After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/lib/security-misc/remove-system.map
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target

0 comments on commit 41734ec

Please sign in to comment.