aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/system/rhel-loadmodules.service
blob: 746b3c27085cdf0f0368629bc40cf3a404e6ce72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
[Unit]
Description=Load legacy module configuration
DefaultDependencies=no
Conflicts=shutdown.target
After=systemd-readahead-collect.service systemd-readahead-replay.service
Before=sysinit.target shutdown.target
ConditionPathExists=|/etc/rc.modules
ConditionDirectoryNotEmpty=|/etc/sysconfig/modules/

[Service]
ExecStart=/usr/lib/systemd/rhel-loadmodules
Type=oneshot
TimeoutSec=0
RemainAfterExit=yes

[Install]
WantedBy=sysinit.target