arch-ppa/src/opensm/opensm.launch

15 lines
591 B
XML

#!/bin/bash
# Upstream doesn't provide a systemd .service file
# There is a timing bug that intermittently causes signal 15 failures on start
# Fedora's workaround is to use a separate script
# Copied from Fedora's opensm-3.3.17-4.fc22.x86_64.rpm
# Following Arch's philosophy of deviating from upstream as little as possible,
# modified to just launch opensm.
# If you need simultaneous multiple interfaces, instead check out the AUR package
# opensm-systemd-multiple-interfaces
#
# Launch the necessary OpenSM daemons for systemd
(while true; do /usr/bin/opensm; sleep 30; done) &
exit 0