home
·
contact
·
privacy
projects
/
config
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Regularly pull website repo on web server.
[config]
/
all_new_2018
/
linkable_etc_files
/
web
/
etc
/
systemd
/
system
/
pull_website.service
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
new file mode 100644
(file)
index 0000000..
ea32ec7
--- /dev/null
+++ b/
all_new_2018/linkable_etc_files/web/etc/systemd/system/pull_website.service
@@ -0,0
+1,5
@@
+[Unit]
+Description=Pull website repo
+[Service]
+Type=oneshot
+ExecStart=/bin/sh -c 'cd /var/www && git pull'