15 lines
422 B
Bash
Executable File
15 lines
422 B
Bash
Executable File
#!/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
|
|
echo "Running autoport-launcher ${i}"
|
|
systemd-run -u autoport-launcher-${i} /usr/bin/autoport-launcher ${i}
|
|
done
|