[Unit]
Description=Urgent sync access changes from Eye
After=network.target mariadb.service

[Service]
Type=forking
User=eye
Group=eye
ExecStart=/opt/Eye/scripts/stat-sync.pl --start
PIDFile=/run/eye/stat-sync.pid
RuntimeDirectory=eye
RuntimeDirectoryMode=0700
RuntimeDirectoryPreserve=yes
RestartSec=30
Restart=on-failure

[Install]
WantedBy=multi-user.target
