Commit Graph

11 Commits

Author SHA1 Message Date
e86660d34e Using the crontab command adds the job to root's jobs. Allow cron to pick up the file automatically by not running any explicit calls. 2025-08-17 11:43:54 -07:00
cfb07a6e93 Use the www-data user rather than creating a hugo user. 2025-08-17 11:26:47 -07:00
4dd0661e1e Move permission commands to a single command after the cronjob file is copied. 2025-08-17 11:02:13 -07:00
d6e1186d86 Modify script to remove NGINX default files and check HTTP codes rather than curl response status. 2025-08-17 11:01:10 -07:00
57ade9f67d Give the cronjob some safety so that it churns less. 2025-08-17 11:00:34 -07:00
ddeadcf723 Add safeguards to cron job so that website does not get deleted without having replacement files. 2025-08-17 09:12:23 -07:00
dbb54b6f81 Do not continue if the git repo does not exist. 2025-08-17 09:01:24 -07:00
5323b6647f Change restart loop timers. 2025-08-15 11:49:00 -07:00
6dac535211 Remove running service commands since they don't actually keep the programs enabled. 2025-08-15 11:46:23 -07:00
d035f9d8e7 Refactor how the project is run, using nginx instead of hugo server, a cron job to pull git changes, and a start script to ensure the correct services are started each run and are monitored to stay up. 2025-08-15 11:45:23 -07:00
0ca793423b Add working configuration for how to run a slim Hugo container. 2025-08-14 12:30:25 -07:00