39 lines
895 B
Makefile
39 lines
895 B
Makefile
# Clone from IPv6: git clone git://ping.wit.com/git/website/jcarr/check.jcarr.wit.com
|
|
# Clone with ssh keys: git clone ssh://root@ping.wit.com/var/lib/git/website/jcarr/check.jcarr.wit.com
|
|
|
|
all:
|
|
@echo
|
|
@echo 'make update # pulls down the submodule directories'
|
|
@echo 'make status # shows your letsencrypt cert'
|
|
@echo
|
|
|
|
setup:
|
|
make status
|
|
ls -l /var/www/html
|
|
|
|
push:
|
|
git add --all
|
|
-git commit -a
|
|
git push
|
|
|
|
# git submodule add git://ping.wit.com/git/witcoredns witcoredns
|
|
update:
|
|
git pull
|
|
git submodule update --init --recursive
|
|
|
|
# do this to allow a new tree on the git server
|
|
resetgit:
|
|
mkdir myrepo
|
|
cd myrepo && touch .git/git-daemon-export-ok
|
|
cd myrepo && git config --bool core.bare true
|
|
|
|
status:
|
|
@echo
|
|
acmetool status
|
|
@echo
|
|
|
|
# this will update the cert when 'acmetool status' says 'needs-renewing'
|
|
renew-cert:
|
|
service nginx stop
|
|
acmetool --xlog.severity=debug reconcile
|