Changeset - 3069a7276389
[Not reviewed]
3 1 0
Ben Sturmfels (bsturmfels) - 1 month ago 2024-03-13 03:50:48
ben@sturm.com.au
Remove conservancy-www-update timer-based deploy
4 files changed with 0 insertions and 93 deletions:
0 comments (0 inline, 0 general)
deploy/systemd/README.md
Show inline comments
...
 
@@ -7,28 +7,11 @@ Install all Systemd services with:
 
    cp systemd/conservancy-www-*.{service,timer} /etc/systemd/system
 
    systemctl enable conservancy-www-cleanup.service
 
    systemctl start conservancy-www-cleanup.service
 
    systemctl enable conservancy-www-update.timer
 
    systemctl start conservancy-www-update.timer
 
    systemctl enable conservancy-www-db.service
 
    systemctl enable conservancy-www-db.path
 
    systemctl start conservancy-www-db.path
 

	
 

	
 
##  Website updates
 

	
 
Monitor the website update service with:
 

	
 
    systemctl list-timers --all
 
    journalctl --catalog --follow --unit conservancy-www-update.service
 

	
 
Updates will fail unless `/var/www/website` has a git upstream, so set that with:
 

	
 
    git remote add upstream https://k.sfconservancy.org/website
 
    git branch --set-upstream-to=upstream/master master
 
    
 
Note that the update script does not run `migrate`.
 

	
 

	
 
## Fundraiser/sustainer database updates
 

	
 
The `conservancy-www-db.service` applies SQL updates to the website database
deploy/systemd/conservancy-www-update.service
Show inline comments
 
deleted file
deploy/systemd/conservancy-www-update.sh
Show inline comments
 
deleted file
deploy/systemd/conservancy-www-update.timer
Show inline comments
 
deleted file
0 comments (0 inline, 0 general)