fix package setup

This commit is contained in:
bain 2024-11-04 13:05:18 +01:00
parent 7b36581fd0
commit 195326e8ad
Signed by: bain
GPG key ID: 31F0F25E3BED0B9B
4 changed files with 1 additions and 45 deletions

View file

@ -1,17 +0,0 @@
[
{
"name": "dummy1",
"upstreams": [
"10.0.0.1",
"10.0.0.2",
"10.0.0.3"
]
},
{
"name": "dummy2",
"upstreams": [
"127.0.0.1",
"127.0.0.2"
]
}
]

View file

@ -1,5 +0,0 @@
NGINX_DIR="/etc/nginx"
DOMAINS_TXT="/etc/autossl/domains.txt"
DEHYDRATED_BIN="/etc/autossl/dehydrated.sh"
REMOTE="10.0.0.1"
REMOTE_SSH_KEY="/etc/ncc/ssh.key"

View file

@ -1,22 +0,0 @@
#!/usr/bin/env bash
# This hook is part of ncc. It creates a marker file on new cert deployments,
# so that ncc knows when to reload the cluster.
deploy_cert() {
touch /etc/autossl/trigger;
}
deploy_ocsp() {
touch /tmp/ncc-ssl-trigger;
}
startup_hook() {
[ -f /tmp/ncc-ssl-trigger ] && rm /tmp/ncc-ssl-trigger || true;
}
fn_exists() { declare -F "$1" > /dev/null; }
HANDLER="$1"; shift
if fn_exists "$HANDLER"; then
"$HANDLER" "$@";
fi

View file

@ -3,7 +3,7 @@ from setuptools import setup
setup( setup(
name='ncc', name='ncc',
version='1.0.0', version='1.0.0',
py_modules=['ncc'], packages=['ncc'],
install_requires=[ install_requires=[
'click', 'click',
'sysrsync', 'sysrsync',