cpe-deployments/scripts/sriov/networking-sriov.service
2021-10-29 09:57:19 +01:00

19 lines
544 B
Desktop File

[Unit]
Description=Configure SRIOV Virtual Functions
DefaultDependencies=no
Wants=network.target
After=local-fs.target network-pre.target apparmor.service systemd-sysctl.service systemd-modules-load.service
Before=network.target shutdown.target network-online.target
Conflicts=shutdown.target
[Install]
WantedBy=multi-user.target
WantedBy=network-online.target
[Service]
Type=oneshot
ExecStart=/usr/local/bin/networking-sriov.sh systemd-start
ExecStop=/usr/local/bin/networking-sriov.sh systemd-stop
RemainAfterExit=true
TimeoutStartSec=5min