Common Makefile Template.
.PHONY: start reload stop
start:
systemctl start caddy
stop:
systemctl stop caddy
reload:
systemctl reload caddy
Replace some line🔗
`make set count=5
set:
@test $(count)
@sed -i -e '$(LINE)s/.*/ POST_WEIBO_COUNT: $(count)/' docker-compose.yaml
@echo Change Count to $(count) Success! Now ready to restart!
docker-compose up -d