2021-12-19 14:59:19 +01:00
|
|
|
#!/bin/bash
|
|
|
|
#
|
|
|
|
# openmamba-autobuild-autoport daily cron script
|
|
|
|
# (c) 2008-2021 by Silvan Calarco <silvan.calarco@mambasoft.it>
|
|
|
|
#
|
|
|
|
#. /etc/sysconfig/openmamba-central
|
|
|
|
. /etc/sysconfig/autoport
|
|
|
|
|
|
|
|
[ "$AUTOPORT_ENABLE" = "1" -o "$AUTOPORT_ENABLE" = "true" ] || exit 0
|
|
|
|
|
|
|
|
for i in `seq 0 ${#AUTOPORT_ARCH[*]}`; do
|
2022-10-02 13:05:28 +02:00
|
|
|
echo "Running autoport-launcher ${i}"
|
|
|
|
systemd-run -u autoport-launcher-${i} /usr/bin/autoport-launcher ${i}
|
2021-12-19 14:59:19 +01:00
|
|
|
done
|