Skip to content

Commit

Permalink
(squash) Use meson-defined path prefixes
Browse files Browse the repository at this point in the history
  • Loading branch information
tbzatek committed Feb 26, 2025
1 parent 344f237 commit 06c0ee5
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# For NVMe/TCP connections that provide namespaces containing rootfs
# it is crucial to react on carrier events and reconnect any missing
# NVMe/TCP connections as defined in the ACPI NBFT table. A custom
# /usr/lib/NetworkManager/dispatcher.d/99-nvme-nbft-connect.sh hook
# @NETWORKMANAGERDIR@dispatcher.d/99-nvme-nbft-connect.sh hook
# will respawn nvmf-connect-nbft.service on such occasion.
#
# This file acts as an override to any config directives that disable
Expand Down
2 changes: 1 addition & 1 deletion nvmf-autoconnect/systemd/nbft-boot-connect.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ Restart=on-failure
RestartSec=10
StartLimitIntervalSec=0
StartLimitBurst=0
ExecStart=/usr/sbin/nvme connect-all --nbft
ExecStart=@SBINDIR@/nvme connect-all --nbft

[Install]
WantedBy=sysinit.target
4 changes: 2 additions & 2 deletions nvmf-autoconnect/systemd/nbft-boot-pre.service.in
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,9 @@ Before=systemd-udevd.service

[Service]
Type=oneshot
ExecStartPre=-/usr/bin/mkdir -p /etc/systemd/network
ExecStartPre=-/bin/mkdir -p @SYSCONFDIR@/systemd/network
# generate udev link files
ExecStart=/usr/sbin/nvme nbft gen-udev-link-files /etc/systemd/network/
ExecStart=@SBINDIR@/nvme nbft gen-udev-link-files @SYSCONFDIR@/systemd/network/

[Install]
WantedBy=sysinit.target

0 comments on commit 06c0ee5

Please sign in to comment.