stat-sync.service 326 B

1234567891011121314151617
  1. [Unit]
  2. Description=Urgent sync access changes from Eye
  3. After=network.target mariadb.service
  4. [Service]
  5. Type=simple
  6. User=eye
  7. Group=eye
  8. ExecStart=/opt/Eye/scripts/stat-sync.pl
  9. RuntimeDirectory=eye-sync
  10. RuntimeDirectoryMode=0700
  11. RuntimeDirectoryPreserve=yes
  12. RestartSec=30
  13. Restart=on-failure
  14. [Install]
  15. WantedBy=multi-user.target