From: Christian Heller Date: Sat, 15 Dec 2018 11:08:58 +0000 (+0100) Subject: Remove automatic git pulling of website repo. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/unset_cookie?a=commitdiff_plain;h=d8ffd6a892da99359167e92232aec8328932d9e2;p=config Remove automatic git pulling of website repo. --- diff --git a/all_new_2018/linkable_etc_files/web/etc/systemd/system/pull_website.service b/all_new_2018/linkable_etc_files/web/etc/systemd/system/pull_website.service deleted file mode 100644 index ea32ec7..0000000 --- a/all_new_2018/linkable_etc_files/web/etc/systemd/system/pull_website.service +++ /dev/null @@ -1,5 +0,0 @@ -[Unit] -Description=Pull website repo -[Service] -Type=oneshot -ExecStart=/bin/sh -c 'cd /var/www && git pull' diff --git a/all_new_2018/linkable_etc_files/web/etc/systemd/system/timers.target.wants/pull_website.timer b/all_new_2018/linkable_etc_files/web/etc/systemd/system/timers.target.wants/pull_website.timer deleted file mode 100644 index 6a42507..0000000 --- a/all_new_2018/linkable_etc_files/web/etc/systemd/system/timers.target.wants/pull_website.timer +++ /dev/null @@ -1,8 +0,0 @@ -[Unit] -Description=Pull website repo every minute - -[Timer] -OnCalendar=*-*-* *:*:00,15,30,45 - -[Install] -WantedBy=timers.target diff --git a/all_new_2018/setup_web.sh b/all_new_2018/setup_web.sh index e046da7..661aa74 100755 --- a/all_new_2018/setup_web.sh +++ b/all_new_2018/setup_web.sh @@ -11,4 +11,3 @@ apt -y -o Dpkg::Options::=--force-confold install nginx gitweb fcgiwrap mkdir /var/public_repos chown plom:plom /var/public_repos iptables-restore /etc/iptables/rules.v4 -systemctl start pull_website.timer