Benjamin Drung, Thank you for your patch.
We prefer the solution to be colser to Fedora solution which was presented in issue #9 by jamespharvey20 and here
this solution supports starting multiple instances of opensm with flexible parameter set and different configuration files
To unify the systemd services for opensm from the different distributions, add
opensm.service
andopensm@.service
.The
opensm@.service
starts opensm on a given port.opensm.service
starts opensm for all available ports via theopensm@.service
.fixes #9