summaryrefslogtreecommitdiff
path: root/install.sh
diff options
context:
space:
mode:
authorGravatar steering7253 <steering7253@proton.me>2026-04-24 02:34:14 +0000
committerGravatar steering7253 <steering7253@proton.me>2026-04-24 02:34:14 +0000
commit1d18f97e15699688f04da694a8b4177d8c73cf69 (patch)
tree60f03ec2d4d302d79561b22e854eb4ac0ad450d0 /install.sh
parentupdate some strings (diff)
update cronjob installationHEADmain
Diffstat (limited to 'install.sh')
-rwxr-xr-xinstall.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/install.sh b/install.sh
index b1851d6..bd0ea5a 100755
--- a/install.sh
+++ b/install.sh
@@ -12,9 +12,7 @@ addgroup autopeer
adduser --disabled-password --comment '' new
git -c core.sshcommand="ssh -i /opt/autopeer/id_autopeer" clone git@git.dn42.dev:dn42/registry.git /opt/autopeer/dn42-registry
-echo '47 * * * * root git -c merge.verifysignatures=false -c core.sshcommand="ssh -i /opt/autopeer/id_autopeer" -C /opt/autopeer/dn42-registry pull' >>/etc/cron.d/autopeer
-echo '*/5 * * * * root /opt/autopeer/cronjob.py' >>/etc/cron.d/autopeer
-echo '0 * * * * root git -C /opt/autopeer pull' >>/etc/cron.d/autopeer
+ln -s /opt/autopeer/crond.autopeer /etc/cron.d/autopeer
umask 0007
mkdir /opt/autopeer/db