stat-sync.service 361 B

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