mirror of
https://github.com/DeNNiiInc/Web-Page-Performance-Test.git
synced 2026-04-17 20:05:58 +00:00
Add high-reliability 30s auto-sync configuration (Systemd Timer)
This commit is contained in:
10
web-page-performance-test-sync.service
Normal file
10
web-page-performance-test-sync.service
Normal file
@@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Auto-sync Web Page Performance Test from GitHub
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/var/www/web-page-performance-test/auto-sync.sh
|
||||
User=root
|
||||
StandardOutput=append:/var/log/web-page-performance-test-autosync.log
|
||||
StandardError=append:/var/log/web-page-performance-test-autosync.log
|
||||
Reference in New Issue
Block a user