mirror of
https://github.com/Kicksecure/security-misc.git
synced 2025-01-24 10:06:25 +07:00
fix systemd unit
https://github.com/Kicksecure/security-misc/issues/159
This commit is contained in:
parent
2571bbf315
commit
c5167c8f0d
@ -1,7 +1,14 @@
|
|||||||
[Unit]
|
[Unit]
|
||||||
Description=Disable the loading of additional modules after systemd-modules-load.service
|
Description=Disable the loading of additional modules after systemd-modules-load.service
|
||||||
After=systemd-modules-load.service
|
Documentation=https://github.com/Kicksecure/security-misc
|
||||||
|
|
||||||
|
DefaultDependencies=no
|
||||||
Before=sysinit.target
|
Before=sysinit.target
|
||||||
|
Requires=local-fs.target
|
||||||
|
Requires=systemd-modules-load.service
|
||||||
|
After=local-fs.target
|
||||||
|
After=systemd-modules-load.service
|
||||||
|
|
||||||
# This functionality is implemented with this and not directly in the sysctl config is
|
# This functionality is implemented with this and not directly in the sysctl config is
|
||||||
# to allow systemd-modules-load.service to load the modules with no problem but
|
# to allow systemd-modules-load.service to load the modules with no problem but
|
||||||
# to disallow anyone else do the same after the system boots up.
|
# to disallow anyone else do the same after the system boots up.
|
||||||
|
Loading…
Reference in New Issue
Block a user