Merge pull request 'Remove Systemd block' (#40) from remove_systemd_block into main
ogrepository/pipeline/head This commit looks good Details

Reviewed-on: #40
main
Nicolas Arenas 2025-08-07 10:26:13 +02:00
commit 61e2e2468d
1 changed files with 0 additions and 9 deletions

View File

@ -53,15 +53,6 @@ USER="opengnsys"
# done
# "
if [ "$1" = "configure" ] && [ -z "$2" ]; then
systemd-run --no-block /bin/bash -c "
sleep 10;
apt update -y;
for pkg in bittorrent bittornado ctorrent; do
if ! dpkg -l | grep -qw \"\$pkg\"; then
apt install -y \"\$pkg\"
fi
done
"
sed -i "s/%%OGREPOSITORY_USER%%/$SAMBA_USER/g" /etc/systemd/system/ogrepo-api.service
sed -i "s/%%OGREPOSITORY_USER%%/$SAMBA_USER/g" /etc/samba/ogrepo-smb.conf