2018-08-07 02:14:37 -05:00
|
|
|
[Unit]
|
|
|
|
Description=Opennsl kernel modules init
|
|
|
|
After=local-fs.target
|
|
|
|
Before=syncd.service
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2019-01-25 02:46:09 -06:00
|
|
|
ExecStart=-/etc/init.d/opennsl-modules start
|
2018-12-08 01:05:02 -06:00
|
|
|
# Don't remove opennsl driver when stopping service. Because
|
|
|
|
# removing knet drivers takes ~30 seconds to delete netdevs.
|
|
|
|
# This delay cuts too deep into warm reboot time budget.
|
|
|
|
# We could skip this step because we don't expect stopping
|
|
|
|
# opennsl service in any context other than rebooting.
|
2019-01-25 02:46:09 -06:00
|
|
|
# ExecStop=-/etc/init.d/opennsl-modules stop
|
2018-08-07 02:14:37 -05:00
|
|
|
RemainAfterExit=yes
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|