Typo and missing sheband
This commit is contained in:
@@ -390,7 +390,7 @@ services_generation() {
|
|||||||
if [[ "${service}" != "virtualization" ]]; then
|
if [[ "${service}" != "virtualization" ]]; then
|
||||||
if [[ "${service}" == "nextcloud" ]]; then
|
if [[ "${service}" == "nextcloud" ]]; then
|
||||||
cp templates/nix-config/podman/${service}.nix final-nix-config/etc/nixos/podman/${service}.nix
|
cp templates/nix-config/podman/${service}.nix final-nix-config/etc/nixos/podman/${service}.nix
|
||||||
PODMAN_NETWORKS+=". \${pkgs.podman}/bin/podman network create --driver=bridge --subnet=172.16.${j}0.0/24 --ip-range=172.16.${j}0.0/24 --gateway=172.16.${j}0.254 nextcloud-aio"$'\n'
|
PODMAN_NETWORKS+=" \${pkgs.podman}/bin/podman network create --driver=bridge --subnet=172.16.${j}0.0/24 --ip-range=172.16.${j}0.0/24 --gateway=172.16.${j}0.254 nextcloud-aio"$'\n'
|
||||||
TRAEFIK_NETWORKS+=" nextcloud-aio:"$'\n'
|
TRAEFIK_NETWORKS+=" nextcloud-aio:"$'\n'
|
||||||
TRAEFIK_NETWORKS+=" ipv4_address: 172.16.${j}0.253"$'\n'
|
TRAEFIK_NETWORKS+=" ipv4_address: 172.16.${j}0.253"$'\n'
|
||||||
TRAEFIK_REF_NETWORKS+=" nextcloud-aio:"$'\n'
|
TRAEFIK_REF_NETWORKS+=" nextcloud-aio:"$'\n'
|
||||||
|
|||||||
@@ -10,6 +10,8 @@
|
|||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ -e /home/numbus-admin/.numbus-server/chowned.true ]]; then
|
if [[ -e /home/numbus-admin/.numbus-server/chowned.true ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
@@ -34,6 +36,8 @@
|
|||||||
RemainAfterExit = true;
|
RemainAfterExit = true;
|
||||||
};
|
};
|
||||||
script = ''
|
script = ''
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
if [[ -e /home/numbus-admin/.numbus-server/networked.true ]]; then
|
if [[ -e /home/numbus-admin/.numbus-server/networked.true ]]; then
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user