Create permission-hardening.service

This commit is contained in:
madaidan 2019-12-08 16:50:54 +00:00 committed by GitHub
parent 6c564f6e95
commit d7e2deae92
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -0,0 +1,14 @@
[Unit]
Description=File permission hardening
Documentation=https://github.com/Whonix/security-misc
DefaultDependencies=no
Before=sysinit.target
Requires=local-fs.target
After=local-fs.target
[Service]
Type=oneshot
ExecStart=/usr/lib/security-misc/permission-hardening
[Install]
WantedBy=sysinit.target