home
·
contact
·
privacy
projects
/
config
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b6019fe
)
Remove automatic git pulling of website repo.
author
Christian Heller
<c.heller@plomlompom.de>
Sat, 15 Dec 2018 11:08:58 +0000
(12:08 +0100)
committer
Christian 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]
patch
|
blob
|
history
all_new_2018/linkable_etc_files/web/etc/systemd/system/timers.target.wants/pull_website.timer
[deleted file]
patch
|
blob
|
history
all_new_2018/setup_web.sh
patch
|
blob
|
history
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
--- 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
(file)
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 e046da74477244dafe5f7419ed6bafb86690378b..661aa7416a0f1011a204fd7f20800faa7004c367 100755
(executable)
--- 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
mkdir /var/public_repos
chown plom:plom /var/public_repos
iptables-restore /etc/iptables/rules.v4
-systemctl start pull_website.timer