diff options
Diffstat (limited to 'systemd/system/rhel-loadmodules.service')
-rw-r--r-- | systemd/system/rhel-loadmodules.service | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/systemd/system/rhel-loadmodules.service b/systemd/system/rhel-loadmodules.service new file mode 100644 index 00000000..a834e042 --- /dev/null +++ b/systemd/system/rhel-loadmodules.service @@ -0,0 +1,14 @@ +[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=/lib/systemd/rhel-loadmodules +Type=oneshot +TimeoutSec=0 +RemainAfterExit=yes |