Files
Website-2026/scripts/sync_site.service
T
2026-07-09 10:17:57 +02:00

14 lines
404 B
Desktop File

[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