From d3ec864c134ebcf05ea82bad7f565a61bb418feb Mon Sep 17 00:00:00 2001 From: steering7253 Date: Wed, 8 Apr 2026 03:50:25 +0200 Subject: init --- install.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 install.sh (limited to 'install.sh') diff --git a/install.sh b/install.sh new file mode 100644 index 0000000..2315fd7 --- /dev/null +++ b/install.sh @@ -0,0 +1,7 @@ +apt install git +ln -s /opt/autopeer/sshd_config /etc/ssh/sshd_config.d/autopeer.conf +addgroup autopeer +adduser --disabled-password --comment '' new +git -c core.sshcommand="ssh -i /opt/autopeer/id_autopeer" git clone git@git.dn42.dev:dn42/registry.git dn42-registry + +echo '47 * * * * root git -c core.sshcommand="ssh -i /opt/autopeer/id_autopeer" -C /opt/autopeer/dn42-registry pull' >>/etc/cron.d/autopeer -- cgit v1.3.1-10-gc9f91