sonic-buildimage/platform/broadcom/saibcm-modules/systemd/opennsl-modules-4.9.0-9-amd64.service
Ying Xie 7db8c4a19a
[kernel upgrade] change init file name to match kernel version (#3064)
Signed-off-by: Ying Xie <ying.xie@microsoft.com>
2019-06-21 14:20:11 -07:00

19 lines
583 B
Desktop File

[Unit]
Description=Opennsl kernel modules init
After=local-fs.target
Before=syncd.service
[Service]
Type=oneshot
ExecStart=-/etc/init.d/opennsl-modules-4.9.0-9-amd64 start
# 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.
# ExecStop=-/etc/init.d/opennsl-modules-4.9.0-9-amd64 stop
RemainAfterExit=yes
[Install]
WantedBy=multi-user.target