Files @ d11fdaf3e279
Branch filter:

Location: libtransport.git/packaging/fedora/build_rpm.sh

Sebastian Krzyszkowiak
systemd: wait for network-online.target and add WantedBy=multi-user.target

Thanks to that, "systemctl enable spectrum2" does what expected, that is
makes Spectrum2 start on boot. Also, network.target doesn't tell anything
meaningful - it's just that the network stack is available.
Adding network-online.target makes sure that the network interfaces are up
before starting Spectrum2.
1
2
3
4
5
6
7
#!/bin/sh
set -eu

sh $(readlink -f $(dirname $0))/build_tarball.sh

echo "Building package"
rpmbuild -ta spectrum2.tar.gz