This commit is contained in:
2026-07-11 00:46:57 +02:00
parent e90ed79600
commit 13b4eacad2
2 changed files with 0 additions and 22 deletions
-13
View File
@@ -1,13 +0,0 @@
[Unit]
Description=Sync website content from Git repository
After=network.target
[Service]
Type=oneshot
WorkingDirectory=%h/website-but-better
Environment=GIT_REPO_URL=https://git.organic-server.org/organic-CPU/website-but-better.git
Environment=GIT_BRANCH=main
Environment=DEPLOY_DIR=/var/www/html
ExecStart=/bin/bash /home/USERNAME/website-but-better/scripts/sync_site.sh
User=www-data
Group=www-data
-9
View File
@@ -1,9 +0,0 @@
[Unit]
Description=Run website sync every 12 hours
[Timer]
OnCalendar=*-*-* 00,12:00:00
Persistent=true
[Install]
WantedBy=timers.target