security-misc/lib/systemd/system/permission-hardening.service

21 lines
498 B
SYSTEMD
Raw Normal View History

2021-03-17 20:45:21 +07:00
## Copyright (C) 2019 - 2021 ENCRYPTED SUPPORT LP <adrelanos@whonix.org>
2019-12-29 16:45:26 +07:00
## See the file COPYING for copying conditions.
2019-12-08 23:50:54 +07:00
[Unit]
2019-12-29 16:59:05 +07:00
Description=SUID, SGID, Capability and File Permission Hardening
2019-12-08 23:50:54 +07:00
Documentation=https://github.com/Whonix/security-misc
2019-12-29 16:56:18 +07:00
2019-12-08 23:50:54 +07:00
DefaultDependencies=no
Before=sysinit.target
Requires=local-fs.target
After=local-fs.target
[Service]
Type=oneshot
2019-12-29 16:56:51 +07:00
RemainAfterExit=yes
ExecStart=/usr/libexec/security-misc/permission-hardening
RemainAfterExit=yes
2019-12-08 23:50:54 +07:00
[Install]
WantedBy=sysinit.target