check.jcarr.wit.com/Makefile

39 lines
895 B
Makefile
Raw Normal View History

2018-02-02 04:56:45 -06:00
# 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
2018-02-02 04:56:45 -06:00
setup:
make status
ls -l /var/www/html
2018-02-02 04:56:45 -06:00
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