diff --git a/.drone.yml b/.drone.yml index 7b52394..c911f3c 100644 --- a/.drone.yml +++ b/.drone.yml @@ -8,7 +8,7 @@ pipeline: - apt-get --allow-releaseinfo-change update - apt-get install -y sed strongswan frr isc-dhcp-client systemd - apt-get clean - - echo "wit-network-config (2.0.$(date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(date -R)" >debian/changelog + - echo "wit-network-config (2.0.$(TZ=UTC date +%Y.%m.%d.%H.%M)) unstable; urgency=low\n\n$(git log --format=" * %s")\n\n -- wit $(TZ=UTC date -R)" >debian/changelog - dpkg-buildpackage --no-sign - ls -lha ../wit-network-config_*_all.deb - echo "$SSH_KEY" >/tmp/id_rsa diff --git a/debian/wit-network-config.postinst b/debian/wit-network-config.postinst index 85c19e2..cc9dba4 100755 --- a/debian/wit-network-config.postinst +++ b/debian/wit-network-config.postinst @@ -28,6 +28,7 @@ case "$1" in IPSECCONFIG="etc/ipsec.conf.wit" IPSECSECRETS="etc/ipsec.secrets.wit" SWANCTLCONFIG="etc/swanctl/conf.d/wit-swanctl.conf" + SYSCTLTWEAKS="etc/sysctl.d/10-frr.conf" DOMAINNAME=$(hostname -d) @@ -376,7 +377,7 @@ case "$1" in systemctl restart ssh systemctl reload strongswan || true ## in case we kick-start or done have it enabled for some reason - sysctl -p files/10-frr.conf + sysctl -p $SYSCTLTWEAKS ## END services section