Remove
This commit is contained in:
@@ -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
|
||||
@@ -1,9 +0,0 @@
|
||||
[Unit]
|
||||
Description=Run website sync every 12 hours
|
||||
|
||||
[Timer]
|
||||
OnCalendar=*-*-* 00,12:00:00
|
||||
Persistent=true
|
||||
|
||||
[Install]
|
||||
WantedBy=timers.target
|
||||
Reference in New Issue
Block a user