home · contact · privacy
Remove automatic git pulling of website repo.
authorChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 11:08:58 +0000 (12:08 +0100)
committerChristian Heller <c.heller@plomlompom.de>
Sat, 15 Dec 2018 11:08:58 +0000 (12:08 +0100)
all_new_2018/linkable_etc_files/web/etc/systemd/system/pull_website.service [deleted file]
all_new_2018/linkable_etc_files/web/etc/systemd/system/timers.target.wants/pull_website.timer [deleted file]
all_new_2018/setup_web.sh

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 (file)
index ea32ec7..0000000
+++ /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 (file)
index 6a42507..0000000
+++ /dev/null
@@ -1,8 +0,0 @@
-[Unit]
-Description=Pull website repo every minute
-
-[Timer]
-OnCalendar=*-*-* *:*:00,15,30,45
-
-[Install]
-WantedBy=timers.target
index e046da74477244dafe5f7419ed6bafb86690378b..661aa7416a0f1011a204fd7f20800faa7004c367 100755 (executable)
@@ -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