14 lines
404 B
Desktop File
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
|